I know the default directory structure for the modular Zend Framework applications that are in the manual.
/application
/controllers
/modules
/admin
/controllers
/views
/views
/configs
/www
index.php
But I wonder why I should do it this way. It really is sux to have a default module in / application and other modules in / application / modules /: moduleName. This is more a debatable question than a question of help.
What are the advantages and disadvantages of such a directory structure:
/application
/modules
/admin
/controllers
/views
/default
/controllers
/views
/configs
/www
index.php
From my point of view, the only drawback is that it was not written this way by default / in manual mode. I do not see another. Am I missing something?
Moreover - I think this structure should be the default structure for any new ZF application. And I wonder why the Zend developers don't use it.