Skip to content

jdkealy/sinatra-backbone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 it's contributors. It is sponsored by my startup, Sinefunc, Inc.

About

Neat Backbone.js integration with Sinatra.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 88.1%
  • JavaScript 11.9%