Subscribe

CouchDB and ORMs

Date March 29, 2009

Alex did a good introduction talk to CouchDB at Scotland on Rails. Towards the end of the talk he did an overview of the current ruby plugins/gems available for interfacing with CouchDB, one of which was my own CouchFoo. Alex’s opinion was that any ORM for CouchDB should be as thin as possible [...]

Using objects in models (with CouchFoo)

Date March 21, 2009

ActiveRecord allows you to serialize objects into text columns through YAML. This seems useful but in my experience is under-used. One of the primary reasons for this is it’s not possible to use the data that the object encapsulates without the ruby model. For example it’s not possible to find on the [...]

CouchFoo: ActiveRecord styled API for CouchDB

Date February 4, 2009

CouchDB is an excellent database, designed especially for distributed applications. To quote the official site site:
Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database accessible via a RESTful HTTP/JSON API. Among other features, it provides robust, incremental replication with bi-directional conflict detection and resolution, and is queryable and indexable using a table-oriented view [...]

Rails with Datamapper

Date January 8, 2009

With the recent announcement that Rails and MERB will merge and my preference for DataMapper I decided to plug datamapper into rails for my next freelance project. The theory goes this should make the upgrade path to Rails 3 a lot simpler!
It’s currently possible to use Datamapper with Rails, heck even DHH himself commented [...]

Git

Date December 21, 2008

For those readers of my blog who don’t live in the rails world I highly recommend checking out Git, a distributed version control system. It has been big in the rails world since early this year for several good reasons:

It has distributed and offline functionality
Making and merging branches is a breeze – encouraging you [...]