4 ms·
How does this compare with backbone-rails?https://github.com/codebrew/backbone-rails https://github.com/codebrew/backbone-rails
by jc123 15y ago
How does this compare with backbone-rails?https://github.com/codebrew/backbone-rails https://github.com/codebrew/backbone-rails
- scottschulthess 15y agoThis one says it supports coffeescript or javascript scaffolding(backbone-rails only supports coffeescript scaffolding right now)
- klaut 15y agoI think backbone-rails comes with the older 0.5.0 version of backbone.js, whereas this one has 0.5.3 version. But i haven't tried it so not sure of other differences.
- lobo_tuerto 15y agoNo, backbone-rails comes with Backbonejs' latest version: https://github.com/codebrew/backbone-rails/blob/master/vendor/assets/javascripts/backbone.js https://github.com/codebrew/backbone-rails/blob/master/vendo... It seems like the difference boils down to directory structure and that backbone-rails includes tests.
- ryanfitz 15y agoI just updated the backbone-rails readme to reflect that it uses backbone.js 0.5.3
- thibaut_barrere 15y agonot sure, but if anyone has a good comparison I'm interested.
- meleyal 15y agoMy main focus was to follow the thoughtbot naming conventions and keep it simple. The specific differences are: different naming conventions, fewer generators, generates Coffee or JS. I wrote a short comparison here: https://github.com/meleyal/backbone-on-rails/wiki/How-is-this-gem-different-to-backbone-rails%3F https://github.com/meleyal/backbone-on-rails/wiki/How-is-thi...
- quartzmo 15y agoI published my notes on the differences as a blog post, "backbone-on-rails vs backbone-rails vs rails-backbone". http://www.coffeescriptlove.com/2011/11/backbone-on-rails-vs-backbone-rails-vs.html http://www.coffeescriptlove.com/2011/11/backbone-on-rails-vs...
- ryanfitz 15y agoI'm the author of backbone-rails, one of the main differences that I see is I provide a Backbone.sync method that plays nicely with rails conventions of namespacing your put/post params by model name. It also adds csrf-token to the header in the request for you. However, I think both of our projects are mainly just about helping users learn how to use backbone.js with rails. I try to balance the pull requests I accept based on usefulness vs will this actually help or confuse a new user trying to get started with rails and backbone. Use either one that makes more sense to you, as long as we helped some users get started with backbone and rails then I think we did our job.