Eating spaghetti with Symfony
summary
Claims that big‑bang rewrites usually fail and that incremental migration succeeds by releasing after the first iteration and improving each sprint. Shows concrete tools: Twig to extract templates, service container and event dispatcher to decouple legacy code, message queues to offload slow imports (weather portal example cuts minutes of user wait by background processing). Gives patterns: Symfony microkernel, nginx proxy fallback, SSI/fragments, and real deployments that work sprint by sprint.
AI-written summary · about
chapters (15)
- 0:00Start
- 6:10MIGRATION STRATEGIES
- 15:43PUTTING TWIG TO WORK
- 16:59LEVERAGING THE SERVICE CONTAINER - CREATING SERVICE DEFINITIONS
- 18:37LEVERAGING THE SERVICE CONTAINER - USAGE
- 19:09LEVERAGING THE SERVICE CONTAINER - CACHING
- 20:10LEVERAGING THE EVENT DISPATCHER
- 25:33LEVERAGING MESSAGE QUEUES
- 27:12WRAPPING THE LEGACY APP
- 29:21SHARING THE SESSION
- 31:33PROXYING TO THE NEW APP
- 33:29GOING MICRO WITH THE MICRO KERNEL
- 35:59DESIGNING SMALLER APPS
- 40:32SHARING EVENTS - SYMFONY KERNEL EVENTS
- 47:08EMBEDDING CONTROLLERS / ESI








