by barmstrong · 16y ago · 0 comments
As an admittedly rough measure, check out the number of "watchers" on github for each project's leading plugin:
1106 - MongoMapper http://github.com/jnunemaker/mongomapper
536 - CouchREST http://github.com/jchris/couchrest
312 - Cassandra http://github.com/fauna/cassandra
I've only built one rails app with nosql in it, but at first glance at least Mongo seemed the most fully baked of the group.
695 - Mongoid http://github.com/durran/mongoid
seems to be the Rails/Mongo project to watch. They got a slick looking homepage too: http://mongoid.org
Hoping to try using it on my next project.
http://github.com/spohlenz/mongomodel http://www.mongomodel.org
It's not quite as mature, but more documentation updates are currently in progress.
What didn't you like about MongoMapper and/or Mongoid? Starting from scratch is a big job.
MongoMapper in particular has come a long way since then but still has a few issues in my mind. For example, attributes are converted to/from their mongo representation every single time they are accessed, rather than only when the model is saved or loaded. I also believe MongoModel has a nicer model for typecasting property values (see http://gist.github.com/287379 for an example), and I disagree with the use of has_many associations for embedded collections.
MongoModel isn't perfect either, but it has been the path of least resistance for me in getting my app running on MongoDB.
Here's a pretty thourough comparison: https://wiki.basho.com/display/RIAK/Riak+Compared+to+MongoDB
Note: written by the authors of Riak, but MongoDB contributors chimed in on the comments.