ActiveCouch - A Ruby Wrapper for CouchDB

Wednesday, January 23, 2008

We the nerds actively push ourselves to be on the cutting-edge of current technological happenings. So it was no surprise that when CouchDB appeared on our radar, we jumped at the opportunity to try it out. A flat document-based model for data storage seemed like a good fit for some of our products.

And although CouchDB has an extremely elegant REST API to store/query/view documents, the Ruby-ists here at Bezurk will baulk at the sight of parentheses and braces. Death before inconvenience.

Enter ActiveCouch

ActiveCouch is an open-source Ruby wrapper for CouchDB developed in-house at Bezurk. In Jobs-ian style, version 0.1.0 is out and it ships…today!

Some of it’s functionalities include: convenience methods for creating and deleting databases from a CouchDB database, a Ruby DSL to create permanent views for a CouchDB database, the ability to query and retrieve CouchDB documents in concise ActiveRecord semantics, the ability to persist and delete documents from a CouchDB database and callbacks which enable you to execute methods at specific points in an ActiveCouch object’s lifetime (for e.g. before/after saving).

Like CouchDB itself, this is beta software, but is a living, breathing organism which is constantly evolving.

Continue reading the rest of this entry

  •