Re:CloudEdit: A Backbone.js Tutorial with Rails
by jashkenas on Tuesday February 01, 2011 @09:57AM
(#2165678)
James is also using Jammit here, which has built-in support for JavaScript templates (of any flavor). I agree that it would simplify the tutorial to get all of that string concatenation out of there.
That said, he clearly thinks that leaving templates out of it is the simpler solution: "For the purposes of this tutorial, I'll use simple string concatenation in my views." And from the point of view of someone just getting started, he may very well be right.
That said, he clearly thinks that leaving templates out of it is the simpler solution: "For the purposes of this tutorial, I'll use simple string concatenation in my views." And from the point of view of someone just getting started, he may very well be right.