3 ms·
> Everything is a Bundle in Symfony2: A bundle is a directory containing a set of files (PHP files, stylesheets, JavaScripts, images, ...) that implement a sing
by skrebbel 15y ago
> Everything is a Bundle in Symfony2: A bundle is a directory containing a set of files (PHP files, stylesheets, JavaScripts, images, ...) that implement a single feature (a blog, a forum, etc). That changes everything. Share your bundles between your projects or publish them in the wild.
I have no idea whether this is novel, but it is to me, and I really like it.
- wulczer 15y agoSounds a little like apps in Djangoland. Maybe someone who knows both frameworks could confirm.
- bergie 15y agoThis has been a core idea in both Midgard MVC and MidCOM PHP frameworks, though we called them components. http://wiki.openpsa2.org/index.php/MidCOM_Components http://wiki.openpsa2.org/index.php/MidCOM_Components https://github.com/midgardproject/midgardmvc_core/blob/master/documentation/index.markdown https://github.com/midgardproject/midgardmvc_core/blob/maste...
- john2x 15y agoI really hate why Django calls them 'apps'. Kinda difficult to distinguish between a working application or a Django 'app'.
- code_duck 15y agoI agree, I might have one 'app' that is what I consider my actual application, but then alongside it at the same level, something like Django OAuth. It would be a stretch to call django-registration or OAuth an 'app', since they can't do anything alone.
- te_chris 15y agoSilverStripe's Sapphire framework has had this for quite a while, if you wanted to use it, with their modules. If you're in the mood for being that organised it can be really helpful.