Skip to end of metadata
Go to start of metadata
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend Framework: Zend_View_Helper_* Additions Component Proposal
Table of Contents
1. Overview
Zend_View_Helper_* (Doctype, HeadBase, HeadLink, HeadMeta, HeadScript, HeadStyle, HeadTitle) allow developers to injects view script dependencies into a master layout. See usage cases below.
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
These components (while not nessissary) do work best when combined with a Two-Step approach to formalizing a layout.
4. Dependencies on Other Framework Components
Zend_View_Helper
Zend_Exception
5. Theory of Operation
6. Milestones / Tasks
7. Class Index
Zend_View_Helper_Doctype - for doctype printing and tracking, other helpers would check this to determine if xhtml is in use
Zend_View_Helper_HeadBase - for appending the base url to a page
Zend_View_Helper_HeadLink - for appending links to the head section, specifically stylesheets
Zend_View_Helper_HeadMeta - for appending meta-data to head sections
Zend_View_Helper_HeadScript - for appending js files and js snippets for inclusion in the head section
Zend_View_Helper_HeadStyle - for appending free floating style sections to head section
Zend_View_Helper_HeadTitle - allowing the setting of snipptes of a title from view scripts, for inclusion in overall layout
8. Use Cases
Sample Head section:
9. Class Skeletons
]]></ac:plain-text-body></ac:macro>]]></ac:plain-text-body></ac:macro>
Labels parameters
2 Comments
comments.show.hideJul 25, 2007
Stanislav Malyshev
<p>I'd propose to make 'application/rss+xml' and such constant - so one wouldn't have to remember what's RSS type is, or even better have functions like addRssFeed(), addAtomFeed() etc. </p>
Aug 29, 2007
Adrian Hope-Bailie
<p>Many of these functions eem to have been covered by the Zend_View_Enhanced proposal by Padraic Brady which is already under review.</p>
<p>I like the way he does it as it is all part of a far more comprehensive and better structured view system.</p>