~/talk

Symfony Without Bundles

TalkinItalianat SymfonyDay 2017 · on Friday, 2017-10-20· [php]
speakerdeck:edelprino
slides:none on file

Describes organizing a Symfony app without bundles by turning controllers into services and action objects called request handlers, moving entities and templates out of bundle folders using mapping, and making repositories and forms injectable services (repositories as services, forms as services). Explains concrete refactoring steps: binding routes to handlers, instantiating forms via factories, and replacing slow full-stack tests with faster unit tests to verify behavior.

AI-written summary · about

  1. 0:00Start
  2. 3:16TYPICAL SYMFONY PROJECT
  3. 5:34SYMFONY CONTROLLER TEST
  4. 7:45EXTRACT COMMON METHODS
  5. 8:15EXTRACT ACTION OBJECT
  6. 9:19CREATE SUBSCRIPTION ACTION
  7. 10:21REMOVE UNUSED CONTROLLER app/config/service.nl
  8. 11:01EXAMPLE OF PROJECT FOLDER
  9. 13:14CONTROLLER UTILS
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.