Can anyone recommend a library that provides an ORM-like framework for Riak/Node.js that is similar to Mongoose for MongoDB?
I've checked out Riak-js (http://riakjs.org/) but it doesn't seem to provide a way to define a model like the following:
var user = new User();
user.created = new Date();
user.username = "TEST";
user.password = "PASS";
user.email = "someemail";
user.save();
I checked out the great Tubbs (riakjs-model) library but doesn't seem like it's active.
I found it best to roll my own mapper on top of the raw driver. The current drivers can obfuscate what's going on a bit, not to mention that when you're writing Map/Reduce-based queries, it gets really hard to debug what the hell you did wrong.
I'm speaking from experience, trying first to use Ripple (ODM for ruby) and then just ripping it out and using the riak-ruby driver.