…Okay, let's take a look at…another templating solution, this time called Handlebars.…Handlebars, like mustache before it, is a logicless template solution…in that you don't write logic directly in your template.…So, they're very similar in that way.…However, handlebars is actually a superset of mustache.…So Mustache templates will work inside of Handlebars, and…Handlebars got its name because a handlebar is a kind of mustache.…
And no, I'm not kidding.…That's actually how it got its name.…Handlebars actually does have some nice improvements over Mustache.…First it's extensible with something called 'Helpers'.…Now you may recall if you watch the Mustache chapter.…You can define functions that will be called…by Mustache if they appear in the data set.…And you can write these functions that will…manipulate data and return data transformed in certain ways.…Handlebars actually makes that a little bit more clean.…The other thing that Handlebars does which is nice is…it makes it possible to do what's called pre-compiling the templates.…
- What is templating?
- Defining templates in jQuery Template
- Using simple Mustache templates with sections and conditions
- Adding conditionals and loops to Handlebars templates
- Working with Dust templates
Skill Level Intermediate
What is templating?5m 12s
2. jQuery Template
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.