~/talk

How Kris Builds Symfony Apps

Talkat SymfonyLive London 2014 · 2014-09-25..09-26· [php]
links:none on file
slides:none on file

Explains a concrete architecture: HTTP maps to application via thin controllers as mapping layer, application uses services and models which map to persistence, and persistence is handled by Doctrine ODM with models kept outside bundles. Uses events heavily and dispatch app events from Doctrine preFlush to detect creates, updates and follows. Recommends JMS DiExtra annotations, JMS serializer, RequireJS for JS DI, keep query builders in repositories, implement clone constructors and IDs in constructors, and only flush once in controller.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53Mapping layers concept
  3. 5:53Thin controllers explained
  4. 9:26Managers vs services
  5. 12:35Using events in apps
  6. 21:22Model as princess pattern
  7. 25:25Cabinets and verbs
  8. 25:46Contextual configuration
  9. 31:05JMS serializer tips
  10. 31:50Bundle creation guidance
  11. 35:11Access control voters
  12. 38:05Query builders in repositories
  13. 39:36ID and timestamp creation
  14. 41:47Only flush in controller
  15. 43:13Q&A on bundles
  16. 44:08Q&A on view models
  17. 46:14Q&A on tight coupling
  18. 48:00Q&A on anemic models
  19. 49:31Q&A on event dependencies
  20. 51:21Q&A on folder structure
  21. 52:45Q&A on flushing exceptions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.