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

Proposed Component Name Zend_Vfs
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Vfs
Proposers Walter Tamboer
Zend Liaison  
Revision 1.0 - 03 Jul 2011: Initial Draft. (wiki revision: 2)

Table of Contents

1. Overview

Zend_Vfs is the representation of a Virtual File System. It is virtual because it simulates a normal file system by using one of the many available adapters. An adapter is the communication layer between the Virtual File System and the storage device. The storage device can be the file system itself, a database, etc.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will implement CRUD operations for directories.
  • This component will implement CRUD operations for files.

4. Dependencies on Other Framework Components

  • SPL
  • Zend_Date
  • Zend_Db

5. Theory of Operation

Some ideas for adapters are the following:

  • FileSystem; This adapter will act on the underlying file system.
  • Database; This adapter will store the files and directories in a database. This will probably work with Zend_Db
  • FTP; This adapter can communicate with an FTP server.

6. Milestones / Tasks

  • Milestone 1: Setup the proposal and consider feedback.
  • Milestone 2: Write and finish component source code.
  • Milestone 3: Write unit tests
  • Milestone 4: Write documentation

7. Class Index

  • \Zend\Vfs\Directory
  • \Zend\Vfs\DirectoryNotFoundException
  • \Zend\Vfs\File
  • \Zend\Vfs\FileNotFoundException
  • \Zend\Vfs\Vfs
  • \Zend\Vfs\Adapter\AbstractAdapter
  • \Zend\Vfs\Adapter\FileSystem

8. Use Cases

UC-01

9. Class Skeletons

The code for this proposal can be found at https://github.com/WalterTamboer/zf2/tree/master/library/Zend/Vfs

]]></ac:plain-text-body></ac:macro>

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