<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend_Filter_Compress is an filter extension for Zend_File_Transfer and allows to compress and decompress files.Zend Framework: Zend_Filter_Compress Component Proposal
Proposed Component Name
Zend_Filter_Compress
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_Filter_Compress
Proposers
Thomas Weidner
Zend Liaison
Matthew Weier O'Phinney
Revision
1.0 - 16 January 2009: Initial Draft (wiki revision: 8)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
- This component will compress files
- This component will decompress files
- This component will support Adapters for the handling of different compression formats
- This component will not support stream compression/decompression
- This component will only support files
4. Dependencies on Other Framework Components
- Zend_Exception
- Zend_Filter
5. Theory of Operation
The Zend_Filter_Compress extension allows to compress and decompress files by using the filter interface. With this component Zend_File_Transfer and also Zend_Form_Element_File are able to allow compression/decompression of files at upload and download progress.The component is instantiated with a mind-link that ...
It is built upon adapters and can easily be extended. Each adapter supports one PHP extension or compression format.
All known php extensions for compression formats will be supported.
6. Milestones / Tasks
- Milestone 1: [DONE] Proposal finished
- Milestone 2: [DONE] Proposal accepted
- Milestone 3: [50% DONE] Integration
- Milestone 4: Unittests
- Milestone 5: Documentation
- Milestone 6: Future compression adapters
7. Class Index
- Zend_Filter_Compress
- Zend_Filter_Compress_Interface
- Zend_Filter_Compress_Bzip2
- Zend_Filter_Compress_Lzf
- Zend_Filter_Compress_Rar
- Zend_Filter_Compress_Zip
- Zend_Filter_Compress_Zlib
- Zend_Filter_Decompress
8. Use Cases
| UC-01 |
|---|
Manual compression
| UC-02 |
|---|
Manual decompression
| UC-03 |
|---|
Compression and store it under a new filename
| UC-04 |
|---|
Using Zend_File_Transfer with compression
| UC-05 |
|---|
Using Zend_Form_Element_File with compression