<ac:macro ac:name="info"><ac:parameter ac:name="title">Zend_View_Helper_CssMinifier - Muhammad Hussein Fattahizadeh</ac:parameter><ac:rich-text-body>
<p>This page has been created from a template that uses "zones." To proceed:</p>
<ol>
<li>Edit the page</li>
<li>Replace sample content within each zone-data tag with your own content</li>
<li>Remove this notice</li>
<li>Save the page</li>
<li>When you are ready for community review, move this page to the <ac:link><ri:page ri:content-title="Ready for Review" /></ac:link> section on the edit page.</li>
</ol>
<ac:macro ac:name="note"><ac:parameter ac:name="title">No placeholders allowed!</ac:parameter><ac:rich-text-body>
<p>Please do not create placeholders. Wait until you have sufficient content to replace all sample data in the proposal template before creating your proposal document.</p></ac:rich-text-body></ac:macro></ac:rich-text-body></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_View_Helper_CssMinifier is a class for minify the Cascading Style Sheets before sending to the client. Most requirements take the form of "foo will do ...." or "foo will not support ...", although different words and sentence structure might be used. Adding functionality to your proposal is requirements creep (bad), unless listed below. Discuss major changes with your team first, and then open a "feature improvement" issue against this component.
Zend Framework: Zend_View_Helper_CssMinifier Component Proposal
Proposed Component Name
Zend_View_Helper_CssMinifier
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_View_Helper_CssMinifier
Proposers
Muhammad Hussein Fattahizadeh
Zend Liaison
TBD
Revision
1.0 - 1 January 2008: Initial Draft. (wiki revision: 7)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
- Zend_View_Helper_Abstract
5. Theory of Operation
The component is instantiated with a mind-link that ...
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_Magic_Exception
- Zend_Magic (factory class)
- Zend_Magic_MindProbe
- Zend_Magic_MindProbe_Intent
- Zend_Magic_Action
- Zend_Magic_CodeGen
8. Use Cases
| UC-01 |
|---|
... (see good use cases book)
4 Comments
comments.show.hideAug 16, 2009
Travis Boudreaux
<p>I like the idea of this alot, but I think I'd like to see the structure look more like Zend_View_Helper_Css_Minify or Zend_View_Helper_Css_Minifier, that way there can be long term support for building a Zend_View_Helper_Css package.</p>
Apr 23, 2010
Nick Daugherty
<p>I agree on the file name conventions. This component is good idea and will be useful in a variety of applications. Ideally, the component would allow you to package several CSS files into one, and then minify them. So perhaps we should create a minifying filter component instead, such as Zend_Filter_Minify_Css and Zend_Filter_Minify_Javascript, and have a way to apply these filters to the HeadScript and HeadLink view helpers instead.</p>
Jul 11, 2010
Nick Daugherty
<p>I have written a working Zend_Filter_Minify_Css component that this can now use to do the minification itself. </p>
Feb 06, 2011
Dolf Schimmel (Freeaqingme)
<p>Archiving this proposal, feel free to recover it when you want to work on it again. For more details see <a href="http://framework.zend.com/wiki/display/ZFDEV/Archiving+of+abandoned+proposals+(Feb+5+2011)">this email</a>.</p>