I have been using Symfony1.4 for over 2.5 years. Now there is a new project and the client wants to use Symfony2 for this project.
After studying Symfony2 for few weeks now I have few things to decide for my structure which ideally would organize properly in Symfony1.4 but I cannot find perfect ways to do in Symfony2 (may be because of my not much experience with Symfony2 yet)
I have 3 applications in the project. Do i create bundles for these 3 applications? Or do I create 3 apps folder in the src/ directory and create bundles for individual modules of the respective applications?
If we create bundle for each application for Q1 above, I am not able to find a way to organize the modules wise entities within the same bundle. For eg. I have modules like Users, Events, Calendar etc for the module frontend, how can i organize the modules within the frontendBundle?
Common code for all apps was stored in the root lib/ folder in Symfony1.4 and it used to become accessible across all apps. I am not able to understand where to have this common code? Do I have that inside vendors folder? Or vendors folder is just meant for purpose of third part plugged extensions like Doctrine?
Please can some Symfony2 experts clarify these doubts?