ActiveCouch – a CouchDB library in the spirit of ActiveResource and ActiveRecord

In: Open Source|Ruby|Ruby on Rails

2 Feb 2008

My fellow Rubyist at work, Arun Thampi, has released ActiveCouch, a Ruby library for CouchDB (if you don’t know what CouchDB is, read this). Check out the official blog announcement of ActiveCouch.

ActiveCouch tries to be an ActiveResource and ActiveRecord (yes, there is even an ActiveCouch::Migration class for creating CouchDB views) equivalent for representing CouchDB documents in Ruby. I wish I could write some coherent code examples here but I am not that up to date with the latest changes in ActiveCouch (despite my name being tagged as a committer to ActiveCouch, it is largely Arun’s awesome little baby).

Never fear though, since Arun and I are chowing down our own dog food – we’re currently porting several gigabytes worth of hotel data from our hacked together XML and Ferret-based library to use the ActiveCouch library. I’m sure we’ll get a more coherent API after this exercise, since we are no longer relying on specs and mocks, but working on a Real Application.

If you decide to try out ActiveCouch, do let us know of any feedback or bug reports at the ActiveCouch Google Code site. ActiveCouch is Open Source, so if you’ve patches that’s even better!

7 Responses to ActiveCouch – a CouchDB library in the spirit of ActiveResource and ActiveRecord

Avatar

Harish Mallipeddi

February 2nd, 2008 at 8pm

Sweet! Bezurk is now powered by Erlang too :)

Avatar

Jack Danger Canty

March 9th, 2008 at 3am

This is great news – thanks for this. Do you have the project in GitHub yet?

Avatar

Chu Yeow

March 9th, 2008 at 12pm

Nope, not yet, though Arun is probably going to when he finds some time.

Avatar

CouchFoo: Like ActiveRecord, but for CouchDB

February 11th, 2009 at 9pm

[...] developer, wanted to use CouchDB but found the existing libraries (such as RelaxDB, CouchREST, ActiveCouch and CouchPotato) lacking – not that they are, as such, but they didn’t fit George’s needs. George [...]

Avatar

Aggregator @ Bitubique

February 11th, 2009 at 10pm

RubyInside: CouchFoo: Like ActiveRecord, but for CouchDB…

Apache CouchDB is a “distributed, fault-tolerant and schema-free document-oriented database accessible via a RESTful HTTP/JSON API” that has received quite a bit of publicity in developer circles in the past year. It’s written in Erlang, so has all …

Avatar

CouchFoo: Igual ao ActiveRecord, mas para CouchDB

February 13th, 2009 at 12am

[...] developer, wanted to use CouchDB but found the existing libraries (such as RelaxDB, CouchREST, ActiveCouch and CouchPotato) lacking – not that they are, as such, but they didn’t fit George’s needs. George [...]

Avatar

CouchFoo: Like ActiveRecord, but for CouchDB « A little story

February 13th, 2009 at 8pm

[...] developer, wanted to use CouchDB but found the existing libraries (such as RelaxDB, CouchREST, ActiveCouch and CouchPotato) lacking – not that they are, as such, but they didn’t fit George’s [...]