Added by David Moring, last edited by David Moring on Jan 25, 2008  (view change)

Labels

 
New Proposal Template

This page has been created from a template that uses "zones." To proceed:

  1. Edit the page
  2. Replace sample content within each zone-data tag
  3. Remove this notice
  4. Save the page
  5. When you are ready for review, remove the Under Construction notice
Under Construction

This proposal is under construction and is not ready for review.

Zend Framework: Zend_View_pHAML Component Proposal

Proposed Component Name Zend_View_pHAML
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_View_pHAML
Proposers My E-mail Address
Revision 1.1 - 1 August 2006: Updated from community comments. (wiki revision: 7)

Table of Contents

1. Overview

Zend_View_pHAML brings the DRY HAML markup to the Zend Framework templates. pHAML provides a quick way to build XHML and XML documents quickly with full support of Zend View helpers.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

pHAML requires Zend_View plugin

4. Dependencies on Other Framework Components

  • Zend_View

5. Theory of Operation

Basically assign this view in the bootstrap, assign the proper suffix (we use .hml), and off you go....

6. Milestones / Tasks

Describe some intermediate state of this component in terms of design notes, additional material added to this page, and / code. Note any significant dependencies here, such as, "Milestone #3 can not be completed until feature Foo has been added to ZF component XYZ." Milestones will be required for acceptance of future proposals. They are not hard, and many times you will only need to think of the first three below.

  • Milestone 1: design notes will be published here
  • Milestone 2: Working prototype checked into the incubator supporting use cases #1, #2, ...
  • Milestone 3: Working prototype checked into the incubator supporting use cases #3 and #4.
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Initial documentation exists.

If a milestone is already done, begin the description with "[DONE]", like this:

  • Milestone #: [DONE] Unit tests ...

7. Class Index

  • Zend_View_Phaml

8. Use Cases

Please refer to examples : * pHAML Examples

9. Class Skeletons

Is this proposal ready for community review? If so, please reparent it to the 'ready for review' section and announce it on the appropriate mailing list.

Thanks.
,Wil