3 ms·
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
by mark_l_watson 13y ago
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.
- mlmilleratmit 13y agoTake 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 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.
- mark_l_watson 13y agoThanks - I just bookmarked that.
- rdtsc 13y agoHey 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.
- mark_l_watson 13y agoThanks, I didn't know about the CoffeeScript support. Nice!
- js4all 13y agoDespite JavaScript, you can also use CoffeeScript and Erlang. The later is un-sandboxed and that's why it is not enabled per default.