> 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.
I 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.
SilverStripe'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.
Comments
> 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.
Sounds a little like apps in Djangoland. Maybe someone who knows both frameworks could confirm.
This 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
https://github.com/midgardproject/midgardmvc_core/blob/maste...
I really hate why Django calls them 'apps'. Kinda difficult to distinguish between a working application or a Django 'app'.
I 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.
SilverStripe'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.