|
Although it's possible to use the Ruby driver by itself, sometimes you want validations, associations, and many of the other conveniences provided by ActiveRecord. Here, then, is a list of the most popular object mappers available for working with Ruby and MongoDB. RecommendationsFirst we advise that you get to know how the database itself works. This is best accomplished by playing with the shell and experimenting with the Ruby driver (or any of the other drivers, for that matter)*. Once you understand how MongoDB works, you'll be in a good position to choose the object mapper that best suits your needs. So long as you pick an OM that's used in production and is actively developed, you really can't make a bad choice. LibrariesMongoMapperJohn Nunemaker's OM. Used in production and actively-developed. ActiveModel support forthcoming. Installation:
Source:
Documentation:
Articles: Mongoid
Durran Jordan's OM. Used in production and actively-developed. Supports ActiveModel and Rails 3. Installation:
Source:
Documentation:
MongomaticA simple object mapper emphasizing MongoDB idioms. Installation:
Source:
MongoDocMongoDoc is a simple, fast ODM for MongoDB. The project will eventually be merged into Mongoid. Installation:
Source:
MongoModelSam Pohlenz's OM. Actively-developed. Notes: An OM with emphaisis on ActiveModel compatibility. Installation:
Source:
CandyStephen Eley's OM. Actively-developed. Notes: From the README: Installation:
Source:
MongoRecord10gen's original OM. Notes: Installation:
Source:
|

PLEASE POST QUESTIONS IN THE USER GROUPS FORUM. Post non-question comments and helpful hints here.
blog comments powered by Disqus