Login   Register  
PHP Classes
elePHPant
Icontem

filesnap

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Rick Hodger  >  filesnap  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: filesnap
Base name: filesnap
Description: Stream wrapper to write and read snapshot files
Related classes: , ,
Version: 1.0
PHP version: 4.3.0
License: Freeware
All time users: 638 users
All time rank: 4037
Week users: 0 users
Week rank: 2403
 

  Author  
Picture of Rick Hodger
Name: Rick Hodger <e-mail contact>
Packages: 3 Browse all classes by Rick Hodger Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 32
All time rank: 66333 in United Kingdom United Kingdom
Week rank: 390 Up20 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Detailed description  
This class implements a stream wrapper that can write and read snapshots of files.

It can open a file for writing. If a previous version exist, it copies that version to a snapshot file.

The class may also open a file for reading using an optional date parameter to tell the class to open the snapshot version of the file that existed on the given date.

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Stream wrappers Access resources like regular files View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
January 2007
Number 10
Many applications need to store and update information in files. In some cases it is also necessary to update the current versions, but also keep copies of past versions.

This package provides a sophisticated solution that uses PHP streams support to store and retrieve any version just by specifying a date in the past. The class can determine and access the correct version that existed in the specified date.

Manuel Lemos

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file filesnap.class.php Class snapshot stream wrapper include
Plain text file example1.php Example Example 1
Plain text file example2.php Example Example 2

Download all files: filesnap.tar.gz filesnap.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.