This course dives into several advanced topics in jQuery. Learn to leverage jQuery to move beyond simply selecting and manipulating DOM nodes. Some of the many topics covered include: authoring plugins for internal projects and for publication, improving performance of DOM node selection and insertion, customizing jQuery to add more defaults and named constants, using the data method to store and retrieve arbitrary data associated with DOM nodes, manipulating arrays and collections with jQuery's built-in utility methods, and handling events correctly even for dynamically created DOM nodes. This course also includes a comprehensive coverage of deferred objects and promises based on CommonJS. Code examples are given for most of the covered concepts.
Joe has been a web developer for the last 13 of his 16+ years as a professional developer. He has specialized in front end and middle tier development . Although his greatest love is writing code, he also enjoys teaching and speaking about code.
Advanced jQuery Event Handling Hello and welcome to Module 6 of Pluralsight's jQuery Advanced Topics Course. My name is Joe Eames. In this module we will be covering events in jQuery, specifically some of the more advanced areas of events. Understanding events is important in programming in Java Script not only because events are how your code receives actions from the user but also because events support creating loosely coupled code. In addition, events and asynchronous operations are closely related concepts and many of the important operations in Java script are asynchronous so being able to really take advantage of the eventing mechanisms in jQuery will give you some additional tools for creating clean, maintainable code. Now let's take a glance at our outline. We'll start by covering the on method which is new in 1. 7 and replaces all your event binding code from previous versions. Then we'll go on to creating custom events, then we'll begin digging into deferred objects with some conceptual overview and then we'll look at how to create and work with deferred objects in code. Then we'll talk about promises and their relationship to deferred objects. After that we'll have a quick discussion on parameters and late callbacks to deferred objects, then we'll finish up with a discussion of the when method followed by a summarization of the module.