Join Joe Marini for an in-depth discussion in this video Getting and using jQuery Template, part of JavaScript: Templating.
…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.…
Author
Released
4/25/2014- 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
Duration
Views
Related Courses
-
JavaScript and JSON: Integration Techniques
with Ray Villalobos1h 12m Intermediate -
JavaScript: Enhancing the DOM
with Ray Villalobos2h 3m Intermediate -
JavaScript and AJAX: Integration Techniques
with Ray Villalobos1h 12m Intermediate
-
Introduction
-
Welcome45s
-
What you should already know2m 20s
-
Using the exercise files2m 24s
-
-
1. Overview
-
What is templating?5m 12s
-
-
2. jQuery Template
-
Defining templates9m 39s
-
Using formatters3m 56s
-
Binding options and paging13m 17s
-
3. Mustache.js
-
Overview of Mustache.js3m 7s
-
Simple Mustache templates5m 28s
-
Sections and conditions6m 13s
-
Functions7m 2s
-
-
4. Handlebars.js
-
Overview of Handlebars.js3m 21s
-
Conditionals and loops3m 39s
-
Using helpers6m 17s
-
Precompiling templates6m 30s
-
-
5. Dust
-
Overview of Dust2m 57s
-
Simple Dust templates4m 15s
-
Sections5m 3s
-
Helpers9m 22s
-
-
Conclusion
-
Goodbye48s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Getting and using jQuery Template