Skip to end of metadata
Go to start of metadata

<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[

<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 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

These helper provide an easy way to embed Flash, QuickTime, HTML pages and other Objects in your pages.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will provide a way to embed Flash, Quicktime and HTML easily
  • This component will be flexible enough to allow other data to be embedded easily
  • This component will not support the embed tag, since it's deprecated.
  • This component will not provide a workaround for IE's security "feature" that requires the user to click the object.

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

8. Use Cases

9. Class Skeletons



Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Apr 05, 2008

    <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">

    <p>which return HTML to link in a JS and CSS file respectively.</p>

    1. Apr 05, 2008

      <p>ZF have already these helpers look here <br />
      JS <a class="external-link" href=""></a><br />
      and <br />
      CSS <a class="external-link" href=""></a></p>

  2. Jul 01, 2008

    <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>

    <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>