ZF FileSytem
From Triangle Wiki
IntroductionTriangle has created a Zend Framework installation that allows maximum usage of core components between all sites created using the adapted Framework. File SystemBelow is an outline of the top level folders Triangle uses in it's adapted Framework. Each level will be explained in detail further down the page.
ConfigEach site delivered by the Framework is required to have it's own Config file.
Below is an example config file.
LibraryThis folder contains global classes that each site may well use in its deployment. Within this Library folder are classes such as Facebook; Bebo; Global Helpers such as FacebookSWF.php and the core set of classes that create the site in the first place. ModelsThis folder contains all the Database Models. A new folder should be created with the same name as the database in CamelCaps. This essentially means that each new database deployed on numerous servers should be unique, if this is not possible then the folder name can be incremented with an ending digit. ModulesGlobal additions to sites. SitesThe actual folders and pages for the sites. ThemesThemes Bootstrap - index.phpCore bootstrap file that ascertains the incoming domain, calls the Site.php class in Library and forms the correct paths and config elements to route Zend to the correct folders to display the site. External Links |
Navigation
Edit Navigation |
Categories: Admin | PHP | Programming

