The Naked Bundle
summary
Argues that a Symfony bundle can shrink to a bare minimum — just the bundle class, DI extension and a few config files — by moving controllers, entities and templates into framework-agnostic libraries. Uses HTTP Foundation for Request/Response, makes controllers single-action invokable services wired via XML service defs, replaces annotations with Doctrine mapping XML registered through the DoctrineBundle compiler pass, and exposes templates and other resources with Puli. Demonstrates runnable, reusable components across frameworks; Puli integration works but is still alpha.
AI-written summary · about
chapters (11)
- 0:00Introduction to Naked Bundle
- 2:49Bundles and Framework Misconceptions
- 7:23Bundle Conventions Explained
- 12:40Moving Logic to Libraries
- 18:01Stripping Controllers Bare
- 27:57Decoupling Entities
- 35:07Template Reusability Challenges
- 40:10Puli for Resource Sharing
- 44:05Framework Dependency Mindset
- 47:38Q&A on Console Commands
- 49:32Summary and Final Advice
