compared with
Current by Steven Brown
on Mar 27, 2008 08:07.

This line was removed.
This word was removed. This word was added.
This line was added.

Changes (28)

View Page History
{note:title=Under Construction}
<ac:macro ac:name="note"><ac:parameter ac:name="title">Under Construction</ac:parameter><ac:rich-text-body>
<p>This proposal is under construction and is not ready for review.</p></ac:rich-text-body></ac:macro>

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[{zone-template-instance:ZFDEV:Zend Proposal Zone Template}


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 and Bzip, 7zip and Rar depending on legal and technical issues.

* [Harry Houdini Wikipedia Entry|]
* [|]
* [Data Compression Wikipedia Entry|]

Most requirements take the form of "foo will do ...." or "foo will not support ...", although different words and sentence structure might be used. Adding functionality to your proposal is requirements creep (bad), unless listed below. Discuss major changes with your team first, and then open a "feature improvement" issue against this component.

* This component *will* correctly reads a developers mind for intent and generate the right configuration file.
* The generated config file *will not* support XML, but will provide an extension point in the API.
* This component *will* use no more memory than twice the size of all data it contains.
* This component *will* include a factory method.
* This component *will not* allow subclassing. (i.e. when reviewed, we expect to see "final" keyword in code)
* This component *will* only generate data exports strictly complying with RFC 12345.
* This component *will* validate input data against formats supported by ZF component Foo.
* This component *will not* save any data using Zend_Cache or the filesystem. All transient data *will be* saved using Zend_Session.
* 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

The component is instantiated with a mind-link that ...
The developer loads or creates a file, adds or reads contents, then discards or saves.

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: [design notes will be published here|]
* Milestone 1: Write specification.
* Milestone 2: Working prototype checked into the incubator supporting use cases #1, #2, ... 2-3 formats.
* Milestone 3: Working prototype checked into the incubator supporting use cases #3 and #4. another 2-3 formats.
* Milestone 4: Unit tests exist, work, and are checked into SVN.
* Milestone 5: Initial documentation exists.

If a milestone is already done, begin the description with "\[DONE\]", like this:
* Milestone #: \[DONE\] Unit tests ...

* Zend_Magic_Exception Zend_Compress_Abstract
* Zend_Magic (factory class)
* Zend_Magic_MindProbe Zend_Compress_Contents_File
* Zend_Magic_MindProbe_Intent Zend_Compress_Contents_Directory
* Zend_Magic_Action Zend_Compress_Format_Zip
* Zend_Magic_CodeGen Zend_Compress_Format_Gzip
* Zend_Compress_Format_7zip


... (see good use cases book)

class Zend_Magic_Exception extends Zend_Exception {}

class Zend_Magic {