Created
September 14, 2011 18:09
-
-
Save Thinkscape/1217290 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- PROPOSAL 1 -------------------- | |
* directory names in plural form | |
* assets grouped by purpose | |
------------------------------------------ | |
/application | |
/library | |
/Zend | |
/OtherVendor | |
/modules | |
/Statistics | |
/controllers | |
- IndexController.php | |
- ErrorController.php | |
- UserController.php | |
/forms | |
- Login.php | |
- ChangePass.php | |
/services | |
- Paypal.php | |
- Usermanager.php | |
/routes | |
- main.ini | |
/configs | |
- main.ini | |
- debug.ini | |
/public | |
/img | |
- logo.png | |
- user.png | |
/js | |
- statistics.js | |
/src | |
/Statistics | |
/SomeNamespace | |
- Interface.php | |
- SomeClass.php | |
/public | |
/img | |
/js | |
---------- PROPOSAL 2 -------------------- | |
* only static assets grouped in dirs with plural form | |
* all php-classes inside src/ | |
------------------------------------------ | |
/application | |
/library | |
/Zend | |
/OtherVendor | |
/modules | |
/Statistics | |
/routes | |
- main.ini | |
/configs | |
- main.ini | |
- debug.ini | |
/public | |
/img | |
- logo.png | |
- user.png | |
/js | |
- statistics.js | |
/src | |
/Service | |
- Paypal.php | |
- Usermanager.php | |
/Form | |
- Login.php | |
- ChangePass.php | |
/Controller | |
- IndexController.php | |
- ErrorController.php | |
- UserController.php | |
/SomeNamespace | |
- Interface.php | |
- SomeClass.php | |
/public | |
/img | |
/js | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment