I have an application which is developed in Symfony2. Now the structure for it is as follows:
- FrontBundle - includes everything related to the application's view and UI.
- PersistanceBundle - includes everything related to the persistence layer of the application.
- DomainBundle - includes everything related to the entities of the application and the services.
Is this structure ok? Or bundles are used like forum feature - ForumBundle - which includes every layer (controllers, services, domain logic and persistence) related to the forum.