News for hackers. Stuff that matters.
Re:CouchDB merges in BigCouch by mark_l_watson on Thursday July 25, 2013 @04:50PM (#6104881)
I built BigCouch from source and played with it a few years ago. Cloudant is a cool company, and good of them to open source a big piece of their infrastructure.

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.

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.
Re:CouchDB merges in BigCouch by rdtsc on Thursday July 25, 2013 @10:32PM (#6106258)
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!
Re:CouchDB merges in BigCouch by js4all on Friday July 26, 2013 @02:22AM (#6106894)
Despite JavaScript, you can also use CoffeeScript and Erlang. The later is un-sandboxed and that's why it is not enabled per default.