Anything in particular you guys would like to know about our Backbone usage?
Anything in particular you guys would like to know about our Backbone usage?
Perhaps not related to backbone but how are you encoding the different "views" in your single page application? Does the client download all of the templates upfront or how does that work? Also does the client know which template to render for a given api call or is that passed down from the server as well?
I'd be very interested in reading a blog post demonstrating how you strung all of this together! Pretty cool!
Thanks!
Initially we had inline handlebar.js views wrapped around script tags. Now we precompile all templates into JS objects (http://handlebarsjs.com/precompilation.html). These templates are compressed and Gziped into one file and downloaded on page load. We will have two sets of templates now (common views used across the site and application specific views like account profile).
Blog post coming soon :)