<ac:macro ac:name="info"><ac:parameter ac:name="title">Zend_View_Helper for Flash, QuickTime, HTML pages and other HTML Objects</ac:parameter></ac:macro> <ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
These helper provide an easy way to embed Flash, QuickTime, HTML pages and other Objects in your pages.
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend Framework: Zend_View_Helper for Flash, QuickTime, HTML pages and other HTML Objects Component Proposal
Proposed Component Name
Zend_View_Helper for Flash, QuickTime, HTML pages and other HTML Objects
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_View_Helper for Flash, QuickTime, HTML pages and other HTML Objects
Proposers
Jurriën Stutterheim
Matthew Weier O'Phinney, Zend Liaison
Revision
1.0 - 4 April 2008: Initial proposal (wiki revision: 12)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
- Zend_Exception
5. Theory of Operation
They're used just like any other view helper.
6. Milestones / Tasks
- Milestone 1: [DONE] Initial proposal finished
- Milestone 2: [DONE] Have a working prototype
- Milestone 3: [DONE] Helpers are incubated
- Milestone 4: [DONE] Unit tests exist, work, and are checked into SVN.
- Milestone 5: [DONE] Documentation exists.
7. Class Index
- Zend_View_Helper_HtmlObject
- Zend_View_Helper_HtmlFlash
- Zend_View_Helper_HtmlQuickTime
- Zend_View_Helper_HtmlPage
3 Comments
comments.show.hideApr 05, 2008
Jonathan Maron
<p>This is a very good idea, IMHO. The more Zend_View_Helpers we have, the faster we can assemble templates.</p>
<p>Similarly, we could also have: </p>
<ul class="alternate">
<li>Zend_View_Helpers_Javascript</li>
<li>Zend_View_Helpers_Css</li>
</ul>
<p>which return HTML to link in a JS and CSS file respectively.</p>
Apr 05, 2008
Kamil Nowakowski
<p>ZF have already these helpers look here <br />
JS <a class="external-link" href="http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.headscript">http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.headscript</a><br />
and <br />
CSS <a class="external-link" href="http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.headstyle">http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.headstyle</a></p>
Jul 01, 2008
Matthew Weier O'Phinney
<ac:macro ac:name="note"><ac:parameter ac:name="title">Zend Comments</ac:parameter><ac:rich-text-body>
<p>This proposal is accepted for development in the standard/incubator, with the following notes and conditions:</p>
<ul>
<li>'object' is a keyword, so having a function object() will cause issues to the PHP interpreter. Additionally, the current convention is to prefix HTML-specific helpers with the keyword 'html'; we suggest renaming the 'object' view helper to Zend_View_Helper_HtmlObject();</li>
<li>Currently, the formElement() abstract view helper includes methods for escaping HTML attribute values. We recommend you work with the ZF internal team to abstract this functionality out to an htmlElement() abstract helper that these proposed helpers could extend.</li>
</ul>
</ac:rich-text-body></ac:macro>