Re:CouchDB merges in BigCouch
by mlmilleratmit on Thursday July 25, 2013 @06:23PM
(#6105371)
Take a look at chewbranca's work on Fauxton in the master branch of couchdb, and some of his personal riffs at https://github.com/chewbranca/mr-turtles. The idea is to use tools like you mentioned to run JS in browser, on server, and in the database.
Re:CouchDB merges in BigCouch
by mark_l_watson on Thursday July 25, 2013 @07:16PM
(#6105575)
Thanks - I just bookmarked that.
Hey Mark,
It turns out with CouchDB you can use other view languages. Some common ones are Python, Coffeescript and Erlang. It is extensible.
For example in some cases we found the Python viewer from the couchdb python driver package was faster than JS in some cases so we are using that.
Re:CouchDB merges in BigCouch
by mark_l_watson on Friday July 26, 2013 @04:09PM
(#6110294)
Thanks, I didn't know about the CoffeeScript support. Nice!
I am taking a fresh look at CouchDB. I have always had an aversion to JavaScript, which is what CouchDB views are written in, but lately I have been getting into JS more because of Meteor and Ember.js. Off topic, but I find using a subset of JS, and keeping JSLint running in IntelliJ makes for a nice dev environment.