…The first templating library that we're going to…take a look at is called jQuery Template.…The nice thing about jQuery Template is that it's a plug in for jQuery.…And it leverages existing jQuery syntax.…And many websites already use jQuery.…So chances are, you're already familiar with…how to load and use this particular plugin.…It's used for simple templating.…There are no conditionals or logic in jQuery Template.…
And, if you do need to format data, there is…a simple formatting syntax that you can use with jQuery Template.…But jQuery template is mainly intended for relatively simple templating needs.…If you have a need to page through larger data sets, and you've probably seen this…where, you know, you have a page of data and then below the, the data or above the…data you've got these links that say you…know, show the next ten results or show the…previous ten results, and you've seen this on search…results pages and real estate websites and so on.…
jQuery Template makes that really pretty easy.…So to go and get jQuery Template, you can download it from it's GitHub page.…
- 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.