oreilly / couchdb-guide

CouchDB: The Definitive Guide
http://guide.couchdb.org/
501 stars 139 forks source link

Couchdb and REST #393

Open colin-jack opened 13 years ago

colin-jack commented 13 years ago

"By working with the grain and letting CouchDB do this for us, we save ourselves a tremendous amount of CPU cycles that would otherwise have been spent serializing object graphs from SQL, converting them into domain objects, and using those objects to do application-level validation."

If you view the replication request as a resource then it's not un-RESTful, the oreilly rest cookbook has a reck regarding these sorts of processing functions.