Tuesday, March 23, 2010

RubyJax 2010: MongoDB & Mongoid Introductory Video

Durran Jordan from Hashrocket introduces MongoDB and Mongoid, an ODM (Object-Document-Mapper) framework for MongoDB in Ruby.

We had explored MongoDB in the past but this video made us get into it and start using MongoDB/Mongoid on real projects. We'll soon be deploying a production-ready application for one of our newest clients, the Lawrence Berkeley National Lab, that combines ActiveRecord and Mongoid.

Here are some of Mongoid features:

  • Effortless mapping of Ruby objects to documents and embedded documents.
  • Rich criteria API for document retrieval from the database.
  • Chained criteria.
  • Chained named scopes.
  • Support for versioning of documents.
  • Full callback support on documents and embedded documents.
  • Compatibility for most modern Rails targeted frameworks.
  • Proper master/slave distribution against the database.
  • Optimized for use with extremely large datasets.

The advent of Document Oriented Databases is here. If you are a (Ruby) web developer, you should consider taking a look.

MongoDB & Mongoid - RubyJax February 2010 from Hashrocket on Vimeo.

Posted by sbayona

Previous Post