zendframework/zf2 — pull request #846 by weierophinney (2012-02-27 00:16:18+00:00)
Title: [#1] Initial view docs

Quick Start documentation, covering:
- Configuration
- How to configure the aggregate resolver
- How to configure the TemplateMapResolver
- How to configure the TemplatePathStack
- How to configure the exception template
- How to configure the route not found (404) template
- How to configure the layout template
- Controllers and View Models
- Returning a View Model from a controller
- Returning an assoc array from a controller
- View template resolution when no template is specified
- How to set an alternate template for you view model
- How to nest view models
- Layouts
- How "layouts" work (root view model strategy)
- How to configure the layout template
- How to select an alternate layout from:
- a controller action
- within a view script
- at the module level
- How to disable layout for a given action
- How to add additional children to the layout view model
- Rendering and response strategies
- Details how they work
- Details how to provide additional strategies, using the JsonStrategy as an
example
- Details how to write a custom strategy for both rendering and response
injection, using the Accept header