December 2013
Beginner
304 pages
7h 21m
English
CHAPTER 4
![]()
Backbone View and Templating Libraries
The previous chapter focused on the classes and functionality that Backbone provides to power the model layer of your web application. Now the focus shifts to the view layer, with Backbone.View being the main class behind it all. We’ll also look at how templating libraries work to make updating your HTML pages a whole lot easier. As well as looking at Underscore, we’ll spend some time looking at Handlebars and Mustache, two leading template libraries for JavaScript applications.
Code Setup
To execute the code in theexamples, we will continue to use index.html from the previous chapter. Becausewe ...
Read now
Unlock full access