NCDevCon Session Spotlight: Promises, Promises: Unlocking the Power of jQuery's Deferreds

Managing the order in which asynchronous callbacks in JavaScript occur can be a nasty business. Without a lot of overhead and management, you're never quite sure that a certain callback has succeeded or failed. One technique for handling this problem that has gained a lot of traction in the past year is to use deferreds and promises. In fact, if you're using jQuery 1.6 or later and making Ajax calls, you're already using deferreds and promises. In this session, we'll look at how deferreds and promises bring order to the chaos of multiple asynchronous JavaScript calls -- often known as "callback hell." We'll look at how you can leverage promises when making network requests, loading content on the fly, caching resources, performing serial transactions, and building a publish/subscribe model for browser or server-based applications.

 

About Brian Klaas

Brian KlaasBrian Klaas is the Senior Web Systems Designer at the Johns Hopkins Bloomberg School of Public Health's Center for Teaching and Learning. As the architect for eLearning technology at the School, he leads a team that designs and delivers custom online courseware to students and members of the public health workforce around the globe. In addition to designing software and delivering courses, Brian is the manager of the Johns Hopkins Adobe User Group, teaches "Introduction to Online Learning," and leads faculty training and development courses. Brian has presented on software development and eLearning at conferences throughout the country, including cf.Objective(), NCDevCon, Adobe MAX, UBTech, and CUE.

 

Ready to Register for NCDevCon 2013?

Eventbrite - NCDevCon 2013 - North Carolina's Premier Web Conference

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Leave this field empty: