Sha256: 49d1cec581b55db69280e54a97cc8e0793bbc0cff08a79d7ae32a020102e28e9

Contents?: true

Size: 1.72 KB

Versions: 2

Compression:

Stored size: 1.72 KB

Contents

# Sinatra-backbone
#### Neat integration of Backbone.js with Sinatra

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

[bb]: http://documentcloud.github.com/backbone/
[sn]: http://sinatrarb.com

#### 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][jstx] for a full example 
  application.

 * `Sinatra::RestAPI` – Provides restful API for your models for use in Backbone 
 models. See [RestAPI example][restx] for a full example application.

[jstx]: https://github.com/rstacruz/sinatra-backbone/tree/master/examples/jstpages
[restx]: https://github.com/rstacruz/sinatra-backbone/tree/master/examples/restapi

For usage and API reference, please see http://ricostacruz.com/sinatra-backbone. [](#api_reference)

Acknowledgements
----------------

© 2011, Rico Sta. Cruz. Released under the [MIT 
License](http://www.opensource.org/licenses/mit-license.php).

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

 * [My website](http://ricostacruz.com) (ricostacruz.com)
 * [Sinefunc, Inc.](http://sinefunc.com) (sinefunc.com)
 * [Github](http://github.com/rstacruz) (@rstacruz)
 * [Twitter](http://twitter.com/rstacruz) (@rstacruz)

[rsc]: http://ricostacruz.com
[c]:   http://github.com/rstacruz/xxxxx
[sf]:  http://sinefunc.com

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
sinatra-backbone-2-0.1.1 README.md
sinatra-backbone-0.1.1 README.md