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_Io Component Proposal

Proposed Component Name Zend_Io
Developer Notes
Proposers Sven Vollbehr
Zend Liaison TBD
Revision 1.0 - 20 June 2009: Initial Draft. (wiki revision: 2)

Table of Contents

1. Overview

Zend_Io is intended to be used by any application that requires to transform between primitive PHP types and binary form and read/write that data to a character stream.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will read primitive PHP types from character streams.
  • This component will write primitive PHP types into character streams.
"Please note"
Zend_Io will not be a mere wrapper for PHP streams but rather provide a unified API to byte transformations allowing anyone to use regular PHP functions to manipulate the same file descriptor.

4. Dependencies on Other Framework Components

  • Zend_Exception

5. Theory of Operation

6. Milestones / Tasks

  • Milestone 1: Working prototype transformed from existing code and checked into the incubator (necessary tasks: conform to Zend naming conventions, refactor to support the new API described here, and add support for Zend_Config).
  • Milestone 2: Unit tests exist, work, and are checked into SVN.
  • Milestone 3: Initial documentation exists.

7. Class Index

  • Zend_Io_Reader
  • Zend_Io_FileReader
  • Zend_Io_StringReader
  • Zend_Io_Writer
  • Zend_Io_FileWriter
  • Zend_Io_StringWriter
  • Zend_Io_Exception

8. Use Cases


... (see good use cases book)

9. Class Skeletons



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