<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend_Filter_Minify_Css is a filter to reduce the size of CSS strings and files, resulting in faster client downloadsZend Framework: Zend_Filter_Minify_Css Component Proposal
Proposed Component Name
Zend_Filter_Minify_Css
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_Filter_Minify_Css
Proposers
Nick Daugherty
Zend Liaison
TBD
Revision
1.0 - 23 April 2010: Initial Draft. (wiki revision: 17)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
- Zend_Filter_Exception
- Zend_Filter
5. Theory of Operation
Minifying Css leads to faster load times on the client by reducing the overall size of Css code. This component aims to perform the work of removing comments, extra whitespace, etc while retaining the familiar Zend_Filter interface.
This component can be integrated into other framework components, such as HeadStyle view helper for automatic Css minification.
The component is used like any other Zend_Filter_* component, passing the string to be minified to the filter() method.
6. Milestones / Tasks
- Milestone 1: design notes will be published here
- Milestone 2: Working prototype checked into the incubator supporting minification of Css strings
- Milestone 3: Unit tests exist, work, and are checked into SVN.
- Milestone 4: Initial documentation exists.
7. Class Index
- Zend_Filter_Minify_Exception
- Zend_Filter_Minify_Css
- Zend_Filter_Minify_Interface
- Zend_Filter_Minify_Css_RegEx
8. Use Cases
| UC-01 Minifying a string of Css |
|---|
9. Class Skeletons
]]></ac:plain-text-body></ac:macro>