+ Reply to Thread
Results 1 to 2 of 2

Thread: A better folder structure for a Zend Framework Project and planning for future growth

  1. #1
    lordspace is offline Member
    Join Date
    Jan 2008
    Posts
    35

    Default A better folder structure for a Zend Framework Project and planning for future growth

    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

  2. #2
    mientjan is offline Junior Member
    Join Date
    Jun 2009
    Posts
    3

    Default

    Application
    - Model
    - Service
    - Utility
    - Module
    - - ModuleName
    - - - controller
    - - - -

+ Reply to Thread

Similar Threads

  1. Porting an old project to Zend Framework
    By rsn1576 in forum Concepts, Ideas, Planning
    Replies: 2
    Last Post: 02-24-2010, 12:59 PM
  2. How to make Zend Framework Project Works
    By archo in forum General Q&A on Zend Framework
    Replies: 0
    Last Post: 11-05-2009, 11:08 AM
  3. folder structure: modules and views separated
    By kurt0015 in forum Installation & Configuration
    Replies: 1
    Last Post: 01-01-2009, 09:38 PM
  4. Folder Structure
    By dele454 in forum General Q&A on Zend Framework
    Replies: 0
    Last Post: 06-30-2008, 01:07 PM
  5. Zend Framework Project Creator
    By fdomig in forum Installation & Configuration
    Replies: 4
    Last Post: 05-26-2008, 12:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts