title: Zend Framework 2 CMS file structure
body: <p>I'm trying to build a simple content management system based on the Zend Framework 2. The problem is that I don't know how should the folders structure be like.</p>
  
  <p>Until now I have to solutions in mind:</p>
  
  <p>A. Building a general "Admin" module that has multiple controllers like Login Controller, Pages Controller, Posts Controller, each of this controller with his own actions.</p>
  
  <p>B. Building an module for each component, like: Pages Module that has an adminController an an frontendController.</p>
  
  <p>I'm sure that none of the above solution is the corect one, but couldn't find any solid solution or books to provide one. I've taken a look at gotCMS but noticed that this one i.e, saves all the data like layout views in the database, and this is not a solution. </p>