Want more? Subscribe to my free newsletter:

Digging into Deferreds with jQuery: Promises

February 23, 2011

 

Hey guys and welcome to Digging into Deferreds, a new set of short talks to help you understand and make the most of the new deferred features in jQuery 1.5 and 1.5.1 In this first talk, we're going to take a look at Promises (an interface of which a Deferred is an Implementation). Understanding promises is important because once you grasp the fundamentals behind how they work, you’ll find a lot of the jQuery's deferred features easier to follow. Hope this comes in useful!

 

Digging into Deferreds with jQuery: Part 1, Promises from Addy Osmani on Vimeo.

 

Update: I recently partnered up with Julian Auberg (who was responsible for the Ajax rewrite in jQuery 1.5) to write a nice in-depth article about Deferreds (with examples) over at Microsoft's Script Junkie site. Feel free to check it out for more on Deferreds.