Application
- Model
- Service
- Utility
- Module
- - ModuleName
- - - controller
- - - -
Hi All,
I am building a software that is going to be used by many users.
Each user will have his/her own area to upload files.
Some clients may require a customized version of the software.
My code start with "My" prefix and follows Zend Framework's class conventions.
My and Zend Framework's code may need to be shared among the installations.
It'll run on a linux/unix server.
Could you give me some suggestions how to organize the folder structure to be easy for future updates.
Option #1
Public area
www/themes
www/modules/module1/image
www/modules/module1/css
www/modules/module1/js
Non-public area
app/application/controllers
app/modules
library/Zend
library/My
Option #2 (better option ?)
www/themes
www/modules/module1/image
www/modules/module1/css
www/modules/module1/js
Non-public area
app/application/controllers
app/modules
/usr/local/myproduct/1.0.0/library/Zend
/usr/local/myproduct/1.0.0/library/My
/usr/local/myproduct/1.0.0-vip/library/My
/usr/local/myproduct/1.0.0-vip/library/Zend
Application
- Model
- Service
- Utility
- Module
- - ModuleName
- - - controller
- - - -