Sag - PHP & JS for CouchDB
Sag is a suite of libraries for connecting to CouchDB. Its guiding principle is simplicity, creating a powerful interface with little overhead that can be easily integrated with any application structure.
- No crazy stuff No special frameworks, classes for documents, or erroneous HTTP calls.
- Gently wraps CouchDB's API You still use functions like get(), post(), and put().
- Automated testing Every release is automatically tested against CouchDB 1.2.x, BigCouch 0.4, and Cloudant.
- Client side caching Sag takes advantage of CouchDB speaking HTTP and uses Etags for caching.
- The same API in PHP and JS Born in March 2010 as a PHP library, Sag-JS provides the same API in browsers and Node.JS.
A Quick Example
In the News
- [2011-04-08] Storing PHP Sessions in CouchDB by Sam Bisbee
- [2011-02-28] No More Coworking Lockouts with Tropo and CouchDB by Mark Headd
- [2011-01-20] Control Your Tropo Scripts with External Events by Mark Headd
- [2010-11-22] Benchmarking native PHP caching storage options by Sam Bisbee




