A tutorial mostly about Backbone.js and Sinatra, but using MongoDB. It’s quite comprehensive on all aspects so it can be a good intro guide for newbies to any of these tools:
In this post, we looked at creating a Backbone application backed by an API powered by Ruby, Sinatra, Haml, MongoDB and the MongoDB driver. I personally found developing APIs with Sinatra a relatively painless experience and one which I felt was on-par with the effort required for the Node/Express implementation of the same application.
Original title and link: Tutorial: Building Backbone.js Apps With Ruby, Sinatra, MongoDB and Haml ( ©myNoSQL)