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

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

Zend Framework: Zend_Filter_Compress Component Proposal

Proposed Component Name Zend_Filter_Compress
Developer Notes
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

Zend_Filter_Compress is an filter extension for Zend_File_Transfer and allows to compress and decompress files.

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


Manual compression


Manual decompression


Compression and store it under a new filename


Using Zend_File_Transfer with compression


Using Zend_Form_Element_File with compression

9. Class Skeletons


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