PHP Classes

File: readme

Recommend this page to a friend!
  Classes of Alexander Zhukov  >  PHP Shelve  >  readme  >  Download  
File: readme
Role: ???
Content type: text/plain
Description: readme file
Class: PHP Shelve
Simple persistence mechanism for php objects
Author: By
Last change:
Date: 19 years ago
Size: 637 bytes


Class file image Download
PHP Shelve 0.1

simple persistence mechanism for php objects, inspired by python shelve module
uses plain text files to save objects;

To run the unit tests you'll need the phpunit library from

Usage example:

class A
    var $string;
    function A($string)
	$this->string = $string;

$shelf = new Shelve("test_shelf");

$shelf->put("a",new A("test string"));

$shelf = new Shelve("test_shelf");
$a = $shelf->get("a");


(C) 2002, Alexander Zhukov <>
For more information send a message to info at phpclasses dot org.