Standard JS SPA stack we use at netguru
Add this line to your application's Gemfile:
gem 'js_stack'
And then execute:
$ bundle
Modify application.coffee
(you have to be using asset pipeline):
#= require js_stack
#= require js_stack/backbone
https://github.com/marionettejs/backbone.marionette/tree/master/docs
#= require js_stack/marionette
http://nytimes.github.io/backbone.stickit/
#= require js_stack/backbone.stickit
https://github.com/thedersen/backbone.validation
#= require js_stack/backbone.validation
http://dhruvaray.github.io/backbone-associations/
#= require js_stack/backbone.associations
https://github.com/wyuenho/backbone-pageable
#= require js_stack/backbone.pageable
https://github.com/powmedia/backbone-deep-model
#= require js_stack/backbone.deepmodel
https://github.com/p3drosola/Backbone.VirtualCollection
#= require js_stack/backbone.virtualcollection
https://github.com/netzpirat/haml_coffee_assets
#= require js_stack/hamlcoffee
https://github.com/derekprior/momentjs-rails
#= require js_stack/moment
https://github.com/railsware/js-routes
#= require js_stack/jsroutes
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request