title: Symfony2 bundles: am I using them right?
body: <p>I have an application which is developed in <strong>Symfony2</strong>. Now the structure for it is as follows: </p>
  
  <ul>
  <li><em>FrontBundle</em> - includes everything related to the application's view and UI. </li>
  <li><em>PersistanceBundle</em> - includes everything related to the persistence layer of the application.</li>
  <li><em>DomainBundle</em> - includes everything related to the entities of the application and the services.</li>
  </ul>
  
  <p>Is this structure ok? Or bundles are used like forum feature - <em>ForumBundle</em> - which includes every layer (<em>controllers</em>, <em>services</em>, <em>domain logic</em> and <em>persistence</em>) related to the forum.</p>