Warning! This page has the following tags:
- This page needs to be merged with docbook documentation.
The Agavi Configuration Files
The Config Files
Agavi uses XML as the format for configuration files. Click on any of the following file names for further reference:
- ConfigurationFiles/AutoloadDotXml? *
- ConfigurationFiles/CompileDotXml? *
- ConfigurationFiles/ConfigHandlersDotXml? *
- ConfigurationFiles/DatabasesDotXml?
- ConfigurationFiles/FactoriesDotXml?
- ConfigurationFiles/FiltersDotXml?
- ConfigurationFiles/OutputTypesDotXml
- ConfigurationFiles/SettingsDotXml?
Files denoted with an Asterisk (*) have system variants in the core Agavi directory and contain basic information to make the framework run. This means that you don't have to fiddle with your application's config files when updating Agavi.
Configuration Format Basics
All files have this basic structure:
<configurations>
<configuration>
<!-- configuration goes here -->
</configuration>
</configurations>
You may specify any number of <configuration> blocks. If you use the enviroment or context attributes on this tag, you can define a configuration to be valid for this specific environment and/or configuration only. This way you could, for instance, enable a module only in "production" environment, use a debugging filter only in "development" environment, use different Request and Controller implementations for "web" and "xmlrpc" contexts etc etc.

