Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History
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 with your own content
  3. Remove this notice
  4. Save the page
  5. When you are ready for community review, move this page to the Ready for Review section on the edit page.
No placeholders allowed!
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.

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Zend Framework: Zend_Filter_Minify_Css Component Proposal

Proposed Component Name Zend_Filter_Minify_Css
Developer Notes
Proposers Nick Daugherty
Zend Liaison TBD
Revision 1.0 - 23 April 2010: Initial Draft. (wiki revision: 3)

Table of Contents

1. Overview

Zend_Filter_Minify_Css is a filter to reduce the size of CSS strings and files, resulting in faster client downloads

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will minify Css code.
  • This compoonent will accept both filenames and strings as input to the filter() method.
  • This compoonent will support writing the minified Css to a file.
  • This component will implement Zend_Filter_Interface
  • This component will generate valid Css code
  • This component will provide options for control of minification (such as opting not to remove comments, for example)

4. Dependencies on Other Framework Components

  • Zend_Exception
  • Zend_Filter

5. Theory of Operation

The component is used like any other Zend_Filter_* component, passing the string (or filename) 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: Working prototype checked into the incubator supporting minification of Css files (and optionally writing output to a file)
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Initial documentation exists.

7. Class Index

  • Zend_Filter_Minify_Exception
  • Zend_Filter_Minify_Javascript

8. Use Cases


9. Class Skeletons


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.