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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.93.9