Skip to end of metadata
Go to start of metadata

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

<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
Proposers Walter Tamboer
Zend Liaison  
Revision 1.0 - 03 Jul 2011: Initial Draft. (wiki revision: 3)

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


9. Class Skeletons

The code for this proposal can be found at



vfs vfs Delete
virtual virtual Delete
file file Delete
system system Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jul 03, 2011

    <p>I'm working on a WebDav proposal for which I want a unique interface to communicate with a file system. That is why I added this proposal.</p>