This gem combines Backbone's MVC and Faye's push capabilities to make data synchronization between the client's local storage and the server's database easy and almost transparent. Refer to reaction-todos for an example.
This is still an alpha version. Reaction uses YARD for ruby documentation and Groc for Javascript documentation. To get started, refer to the quickstart.
Add this line to your application's Gemfile:
gem 'reaction'
And then execute:
$ bundle install
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Add tests and make sure everything still passes by running
rake
- Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
To use the development copy of the gem, add the following line in your application's Gemfile:
gem 'reaction', :path => '/path/to/gem'