Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Neat Backbone.js integration with Sinatra.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples Add example for JstPages.
lib/sinatra Add haml-coffee engine
test
.gitignore
.travis.yml
Gemfile
HISTORY.md
NOTES.md
README.md
Rakefile
sinatra-backbone.gemspec

README.md

Sinatra-backbone

Neat integration of Backbone.js with Sinatra

Do you like Backbone.js? Do you like Sinatra? Did you ever wish you can use them together? Well now you can, with the new Sinatra Backbone!

Usage

This is a Ruby gem.
$ gem install sinatra-backbone --pre

Or do you use Bundler?
gem 'sinatra-backbone', :require => 'sinatra/backbone'

Contents

Sinatra-backbone is comprised of two Sinatra plugins:

  • Sinatra::JstPages – Provides support for JavaScript server templates (JST) for use in Backbone views. See JstPages example for a full example application.

  • Sinatra::RestAPI – Provides restful API for your models for use in Backbone models. See RestAPI example for a full example application.

For usage and API reference, please see http://ricostacruz.com/sinatra-backbone.

Acknowledgements

© 2011, Rico Sta. Cruz. Released under the MIT License.

Sinatra-Backbone is authored and maintained by Rico Sta. Cruz with help from its contributors. It is sponsored by my startup, Sinefunc, Inc.

Something went wrong with that request. Please try again.