Search:     Advanced search

The core Architecture overview/Directories

Article ID: 58
Last updated: 18 Jul, 2011
Revision: 1
Print
Email to friend
Views: 0

 As normal Zend Framework project, our application contains an application folder and a library folder.

The library folder contains the generic scripts: the Zend Framework library, and the application library. this is the recommended place for all libraries.

The application folder contains your application specific code. it itself contains several folders each one has a specific usage.

  • the application/config folder

    contains config files related to all your application, config files and their content is detailed in a following paragraph.

  • the application/controllers folder

    should contains the controllers that do not belong to any module of your application.

  • the application/layout folder

    contains your application layouts (by default, it contains a admin.phtml and a default.phtml that are respectively your bacoffice and frontoffice layout).

  • the application/modules folder

    contains your application modules, your application should be splitted into feature driven sub-division, for example, we have done a module user for encapsulate user related features module content will be detailed in a following paragraph.

  • the application/view folder

    contains views that are associated with the controllers present in application/controllers folder. it may contains view files that are used in several modules (this files are often used with the partial view helper).

This article was:  
Also read
document What is Website template

Also listed in
folder Site Building Guide
folder Templates Customization
folder Developer Documentation

Prev   Next
Introduction of Modules Architecture.     Architecture overview/Modules folder