I am new in Symfony2. I want to write for learning something like library (site will have part for users and secure part for admins with different designs and functionality). Should I create different bundles (like UserBundle or AdminBundle)? Or I should create one bundle. As in Zend Framework (I create 2 modules for user and admin). Thanks.
Share
Since you’re speaking of different designs and functionality, I assume the two parts won’t really have much in common – at least from a front-end point of view. What will be shared essentially sums up to DB access, etc. – which is pretty much global stuff.
So yup, I’d go with two bundles, it’ll be even more instructive to you IMHO.