I'm developing a website which has a public part and a backoffice part. My intention is to have this bundle structure:
- Acme/CoreBundle: common entities, repositories, services for both public and private
- Acme/BackofficeBundle: controllers, forms, url... etc of the backoffice
- Acme/FrontofficeBundle: same for the frontoffice
Then modify the app_kernel so the bundles of one or the other would be load depending on a enviroment variable of the virtual host.
Does this make sense or there is a better approach for this?
Thanks!