Symfony Without Bundles
summary
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
chapters (9)
- 0:00Start
- 3:16TYPICAL SYMFONY PROJECT
- 5:34SYMFONY CONTROLLER TEST
- 7:45EXTRACT COMMON METHODS
- 8:15EXTRACT ACTION OBJECT
- 9:19CREATE SUBSCRIPTION ACTION
- 10:21REMOVE UNUSED CONTROLLER app/config/service.nl
- 11:01EXAMPLE OF PROJECT FOLDER
- 13:14CONTROLLER UTILS
related talks
02h 27mSymfony 4 best practices (Part 1)
43mControllers: Beyond HTTP and Symfony
41mBuilding first-class REST APIs with Symfony
34mGetting the most out of Symfony4
57mBuilding first-class REST APIs with Symfony
34mSymfony 4: A new Way to develop Applications
02h 09mSymfony Forms in Detail
25mCode decoupling from Symfony (and others frameworks)
