Application filesystem layout

An Agavi application directory is structured according to Agavi's conventions. The Agavi project configuration system knows about the layout and its commands create or modify files and directories inside the source tree.

An application's pub directory is the document root for your web server, it contains static resources such as CSS files, javascript source, images and other items that are reachable through the web server but do not not need to be processedby the application — except for the index.php file.

The application itself — configuration, temporary and cache directories, libraries and source files — are located in the app directory which contains:

modules
Contains application modules and their corresponding contents
cache
Action cache and compiled configuration
config
Application configuration (see next chapter)
lib
Global framework extensions, third party libraries, etc
models
Global application Models
log
Log files (if logging into files is used)
templates
Global templates