Fiber: A simple PHP interface to CouchDB
Fiber from Luis Gomez is a simple way to add CouchDB storage to your PHP app.
Given a User class that extends a Fiber Document:
$user = User::find('john');
$user->email = "john@example.com";
$user->city = "San Francisco";
$user->save();
Fiber also includes some nifty chaining:
$user->set( array( "email" => "peter@example.com", "city" => "Caracas" ) )->save();
Check out the examples in the source.
Discussion
Sign in or Join to comment or subscribe