title: Default modular directory structure for Zend Framework application
body: <p>I'm aware of default directory structure for Zend Framework modular applications that is in the manual. </p>
  
  <pre><code>/application
    /controllers
    /modules
      /admin
        /controllers
        /views
    /views
    /configs
  /www
    index.php
  </code></pre>
  
  <p>But I'm wondering why should I do it this way. It really sux to have the default module in <em>/application</em> and other modules in <em>/application/modules/:moduleName</em>. This is more of a discussion question than a <em>help-me</em> question. </p>
  
  <p>What are the pros and cons of having directory structure like this:</p>
  
  <pre><code>/application
    /modules
      /admin
        /controllers
        /views
      /default
        /controllers
        /views
    /configs
  /www
    index.php
  </code></pre>
  
  <p>From my point of view the only disadvantage is that it's not written like this in default / in manual. I can't see any other. Am I missing something? </p>
  
  <p>Even more - I think that this structure should be default structure for any new ZF application. And I wonder why Zend developers doesn't use it. </p>