| New Proposal Template This page has been created from a template that uses "zones." To proceed:
|
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend_File_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
TBD
Revision
1.0 - 16 January 2009: Initial Draft (wiki revision: 3)
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_File_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
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: [DONE] Proposal finished
- Milestone 2: Proposal accepted
- Milestone 3: Integration
- Milestone 4: Unittests
- Milestone 5: Documentation
- Milestone 6: Future compression adapters
7. Class Index
- Zend_File_Compress
- Zend_File_Compress_Interface
- Zend_File_Compress_Bzip2
- Zend_File_Compress_Lzf
- Zend_File_Compress_Rar
- Zend_File_Compress_Zip
- Zend_File_Compress_Zlib
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