The Definitive Guide to Agavi

$Id: manual.xml 1823 2007-03-06 08:47:59Z david $


Table of Contents

Preface
1. An Introduction
1. Agavi, a (Web) Application Framework
1.1. What a Framework Is
1.2. What a Framework Should Do
1.3. What a Framework Shouldn't Do
2. A Brief Look at Agavi's History
2. Getting Started
1. Prerequisites
2. Installation
2.1. PEAR
2.2. By Hand
2.3. From SVN
2.4. Apache Web Server Configuration
2.5. LightTPD Configuration
2.6. Microsoft IIS Configuration
3. The Sample Application
4. Creating Your First Agavi Application
3. Agavi Basics
1. System Architecture
2. Elements of an Application
3. Environments and Contexts
3.1. A Closer Look at Context Initialization
4. How a Request is Processed
5. Configuration
5.1. Basic Configuration Concepts
5.2. General Format and Environment-/Context-Specific Blocks
5.3. Parameter Blocks
5.4. Value Substitution and Configuration Directives
6. Request and Routing
6.1. Request
6.2. Routing
7. Actions and Models
7.1. Models
7.2. Actions
8. Views, Renderers and Templates
9. Output Types and Response
10. Session Handling and Security
10.1. Role-Based Access Control
11. Validation
11.1. Why Validation?
11.2. When does Validation happen
11.3. How to validate
11.4. Handling Validation errors
11.5. The FormPopulationFilter
11.6. Other things Validators can do for you
11.7. Available Validators
11.8. Examples
12. Filters
13. Internationalization
13.1. translation domains?!
13.2. Lets get started
13.3.
14. Databases
14.1. Database Connection Configuration
14.2. Using the Connection
15. Logging
4. Agavi Reference
1. Action
2. Configuration
3. Controller
4. Core/Context
5. Databases
6. Exceptions
7. Filters
8. Logging
9. Models
10. Renderers
11. Request
12. Response
13. Routing
14. Storage
15. Translation
15.1. Configuration via translation.xml
15.2. Defining available locales
15.3. Setting the current locale
15.4. Methods being used for translation
15.5. Writing custom message translators
15.6. Overwriting the data from the CLDR
16. User
17. Validation
18. Views
5. Configuration handler tag reference
1. General Tags
1.1. Keywords
1.2. <configurations>
1.3. <configuration>
2. AutoloadConfigHandler Tags (autoload.xml)
2.1. <autoloads>
2.2. <autoload>
3. CompileConfigHandler Tags (compile.xml)
3.1. <compiles>
3.2. <compile>
4. ConfigHandlersConfigHandler Tags (config_handlers.xml)
4.1. <handlers>
4.2. <handler>
5. DatabaseConfigHandler Tags (databases.xml)
5.1. <databases>
5.2. <database>
6. FactoryConfigHandler Tags (factories.xml)
6.1. <*>
7. FilterConfigHandler Tags (*_filters.xml)
7.1. <filters>
7.2. <filter>
8. LoggingConfigHandler Tags (logging.xml)
8.1. <loggers>
8.2. <logger>
8.3. <logger>/<appenders>
8.4. <logger>/<appenders>/<appender>
8.5. <appenders>
8.6. <appender>
8.7. <layouts>
8.8. <layout>
9. OutputTypeConfigHandler Tags (output_types.xml)
9.1. <output_types>
9.2. <output_type>
9.3. <renderer>
10. RbacDefinitionConfigHandler Tags (e.g. rbac_definitions.xml)
10.1. <roles>
10.2. <role>
10.3. <permissions>
10.4. <permission>
11. RoutingConfigHandler Tags (routing.xml)
11.1. <routes>
11.2. <route>
11.3. <ignores>
11.4. <ignore>
11.5. <defaults>
11.6. <default>
12. SettingConfigHandler Tags (settings.xml)
12.1. <exception_templates>
12.2. <exception_template>
12.3. <settings>
12.4. <setting>
12.5. <system_actions>
12.6. <system_action>
13. TranslationConfigHandler Tags (translation.xml)
13.1. <available_locales>
13.2. <available_locale>
13.3. <translators>
13.4. <translator>
13.5. <message_translator>
13.6. <number_formatter>
13.7. <currency_formatter>
13.8. <date_formatter>
13.9. <filters>
13.10. <filter>
14. ValidatorConfigHandler Tags (validate/*.xml)
14.1. <validator_definitions>
14.2. <validator_definition>
14.3. <validators>
14.4. <validator>
14.5. <arguments>
14.6. <argument>
14.7. <errors>
14.8. <error>

List of Examples

3.1. translation.xml
3.2. Translation message strings
3.3. Formatting currencies and numbers
3.4. Formatting dates
5.1. autoload.xml
5.2. compile.xml
5.3. config_handlers.xml
5.4. databases.xml