Added by Steven Brown, last edited by Steven Brown on Mar 27, 2008  (view change)

Labels

 
(None)
Under Construction

This proposal is under construction and is not ready for review.

Zend Framework: Zend_Compress Component Proposal

Proposed Component Name Zend_Compress
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Compress
Proposers Steven Brown
Revision 0.1 - 7 February 2008: Created. (wiki revision: 3)

Table of Contents

1. Overview

Zend_Compress will provide class level access to compression and decompression functionality including file navigation within archives, without the need for PHP extensions. Beginning algorithms would include Zip, Gzip, Bzip, 7zip and Rar depending on legal and technical issues.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will allow opening of compressed files.
  • This component will allow extraction of compressed files.
  • This component will allow addition to compressed files.
  • This component will allow saving of compressed files

4. Dependencies on Other Framework Components

  • Zend_Exception

5. Theory of Operation

The developer loads or creates a file, adds or reads contents, then discards or saves.

6. Milestones / Tasks

  • Milestone 1: Write specification.
  • Milestone 2: Working prototype checked into the incubator supporting 2-3 formats.
  • Milestone 3: Working prototype checked into the incubator supporting another 2-3 formats.
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Initial documentation exists.

7. Class Index

  • Zend_Compress_Abstract
  • Zend_Compress_Contents_File
  • Zend_Compress_Contents_Directory
  • Zend_Compress_Format_Zip
  • Zend_Compress_Format_Gzip
  • Zend_Compress_Format_7zip

8. Use Cases

9. Class Skeletons