Need help?

I'm available for remote short term contracting or consultancy work. Please check out my LinkedIn profile for more details on my experience.

Please feel free to use the form below to contact me.



Templates

We all know that Views in Backbone are really Controllers in the MVC pattern; and to maximize our separation attempt, we should be using templates. This is luckily offered within the Underscore framework, amongst other things.

To begin, we'll start with the actual markup templates - these will be surrounded by script tags, and defined as a template type. And don't worry, I'll give you examples after explaining each part. Here's the first:

jon | August 02, 2012 | Comments (0)