Skip to content

Commit

Permalink
[zendframework#1] Initial view docs
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weierophinney committed Feb 27, 2012
1 parent b51f14e commit 328fd79
Show file tree
Hide file tree
Showing 2 changed files with 1,027 additions and 3 deletions.
13 changes: 10 additions & 3 deletions documentation/manual/en/manual.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -2421,8 +2421,15 @@
<!--</xi:include>-->
<!--</chapter>-->

<!--<chapter xml:id="zend.view"><info><title>Zend_View</title></info>-->
<!---->
<chapter xml:id="zend.view">
<info><title>Zend_View</title></info>

<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module_specs/zend.view.quick-start.xml" parse="xml">
<xi:fallback>
<xi:include href="../en/module_specs/zend.view.quick-start.xml" parse="xml"/>
</xi:fallback>
</xi:include>

<!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module_specs/Zend_View-Introduction.xml" parse="xml">-->
<!--<xi:fallback>-->
<!--<xi:include href="../en/module_specs/Zend_View-Introduction.xml" parse="xml"/>-->
Expand All @@ -2448,7 +2455,7 @@
<!--<xi:include href="../en/module_specs/Zend_View-Abstract.xml" parse="xml"/>-->
<!--</xi:fallback>-->
<!--</xi:include>-->
<!--</chapter>-->
</chapter>

<!--<chapter xml:id="zend.wildfire"><info><title>Zend_Wildfire</title></info>-->
<!---->
Expand Down
Loading

0 comments on commit 328fd79

Please sign in to comment.