Symfony routing under the hood
summary
Explains how Symfony transforms route definitions from YAML/XML/annotations or service loaders into a single route collection and then dumps an optimized, single router class that favors string checks over regex for speed, shows cache warmup behavior (dev rebuilds on change, production needs cache:clear), describes the dynamic router that does DB lookups for thousands of CMS URLs, highlights the param converters that load entities before controllers, and warns about ordering, bundle side effects and chain routing.
AI-written summary · about
chapters (11)
- 0:00Introduction to routing history
- 3:39Why modern routing matters
- 7:59Symphony routing component basics
- 11:30Optimizing route matching performance
- 16:46Custom routers and cautions
- 20:04Custom route loaders examples
- 26:32Dynamic routing for CMS
- 29:49Chain router for multiple routers
- 31:19Routing events and param converters
- 37:30Advanced routing use cases
- 39:02Q&A session
