O'Reilly logo

Async JavaScript by Trevor Burnham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What We’ve Learned

In my opinion, Promises are one of the most exciting features to be added to jQuery in years. Not only are they a big help in smoothing out the callback spaghetti that characterizes typical Ajax-rich apps, but they also make it much easier to coordinate async tasks of all kinds.

Using Promises takes some practice, especially when using pipe, but it’s a habit well worth developing. You’ll be peering into the future of JavaScript. The more APIs return Promises, the more compelling they become.

Microsoft has announced that Windows 8’s Metro environment will have a Promise-based JavaScript API.[37] Where hipster developers and Microsoft both go, the rest of the world is bound to follow.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required