scttnlsn/backbone.io — pull request #29 by xaiki (2012-12-06 06:05:23+00:00)
Title: Add a simple pure mongo wrapper.

I have mutating documents that I store in classes that inherits,
so having to specify a Mongoose model is a bit too much for my needs.
hence I've written this simple MongoDB middleware, so that I can do:

var mediabackend = backboneio.createBackend();
mediabackend.use(backboneio.middleware.mongoStore('mediadb', 'medias'));

and have everything automagically sync'd.