Re:What happened to CouchDB's popularity?
by jethroalias97 on Tuesday November 01, 2011 @01:56AM
(#3180829)
Also, CouchDB is all REST, so many people just write their own drivers.
[ Parent
| on HN ]
Re:What happened to CouchDB's popularity?
by mark242 on Tuesday November 01, 2011 @03:04AM
(#3180982)
I think it's also important to add-- writing a "driver" for Couch is, basically, writing an API that essentially calls some HTTP library with some options set, and then parses the resulting JSON data.
For example-- Ektorp, one of the more popular Java libraries? Wraps the Apache HttpClient, and uses the Jackson library to parse JSON. CouchDB4J does something similar, only it uses JSON-lib. A good Java coder could probably write their own fully-functional driver in a day.
jquery.couch.js is basically just a wrapper to $.ajax().
node-couchdb uses the built in client library for node. A good node coder could probably write a fully-functional driver in an hour.
So I don't think it's a matter of "download the official driver" as much as it is "download your platform's preferred JSON parser".
Re:What happened to CouchDB's popularity?
by seanmcq on Tuesday November 01, 2011 @04:38AM
(#3181179)
This is true until you realize you'll need to support keepalive and chunked encoding to write a reasonbly good driver. Two things that often require significant effort, if not custom coding, to make work with http libraries.