News for hackers. Stuff that matters.
Re:Break Apart Your Backbone.js Render Methods by padolsey on Tuesday August 28, 2012 @04:58PM (#4445867)
Doesn't this necessitate lots of individual templates? (in this example: inputTemplate, labelTemplate...)

Is there an easy way to manage this? From what I've seen it's typical to have one template per view (and possibly sub-views with sub-templates).

Re:Break Apart Your Backbone.js Render Methods by ianstormtaylor on Wednesday August 29, 2012 @01:27AM (#4447230)
Dunno about easy, but we use Require.js with either the text! plugin or a custom plugin for jade templates, so they're in their own files.