This new post from Sebastian Bergmann combines two technologies - the Object_Freezer class and the Couch DB to make a simple object storage system.
The Object_Freezer library for PHP provides the low-level functionality to store ("freeze") and fetch ("thaw") any PHP userland object to and from arbitrary object stores. Today I added an object storage implementation that uses Apache CouchDB as its backend.
His example creates an instance of a Foo class, passes it into the "freezer" object which, thanks to his new additions, automatically drops it into a Couch DB database for holding. The same is done for the "thaw" process - a call to fetch() and the object is returned as good as new.