News for hackers. Stuff that matters.
Re:Backbone.js Fundamentals by jotto on Thursday December 22, 2011 @11:19AM (#3382016)
https://github.com/codebrew/backbone-rails will generate backbone scaffolding and includes JS that binds your rails model set/get to html element change events so you can go from 0 to functional and see how Backbone could work. Try a new Rails project with a basic model and generate the Backbone scaffolds for great examples to mimic in your app.
Re:Backbone.js Fundamentals by micheljansen on Thursday December 22, 2011 @12:01PM (#3382239)
Yes, I saw this, and I like how there is an opinion from the Rails community on how to structure Backbone code, but shouldn't the opinion be apparent on Backbone's website? My current Backbone is not backed by a Rails app (it is an existing backend in Perl), so I should not need to create a dummy Rails project to learn Backbone.
Re:Backbone.js Fundamentals by bricestacey on Thursday December 22, 2011 @11:17PM (#3384594)
Backbone doesn't have an opinion on much of anything. It's frustrating sometimes, but it works out well.