3 ms·
Doesn't couchdb accomplish this? (out of box REST API with little config)
by bdcravens 13y ago
Doesn't couchdb accomplish this? (out of box REST API with little config)
- Ixiaus 13y agoCouchDB's support for "views" and using comet/websockets (have they implemented websockets yet?) to communicate with a JS app served from the DB itself... Riak does too - any DB that implements a RESTful interface to the database instead of a binary protocol. CouchDB is particularly well-suited for this use-case though (I would never use Riak in that fashion).
- evan2m 13y agoExactly. Couchdb is preferable to this for so many reasons. The author is effectively using the Nginx configuration language for server-side scripting. The result ends up looking a lot like a bad PHP crud app. With couchdb, the REST API is already built in.
- ams6110 13y agoExcept if you already have a postgres-based system and you want to build a simple REST api around some small piece of it.