Serverless Single Page Apps (for Sandi Frank) by Ben Rady

Serverless Single Page Apps (for Sandi Frank) by Ben Rady

Author:Ben Rady
Language: eng
Format: epub
Tags: Pragmatic Bookshelf
Publisher: The Pragmatic Bookshelf, LLC (598599)


Joe asks:

But You Promised?!

Given my preference for web standards, you might be wondering why we’re not using a Promise/A+ compatible object to manage our identity information. Since Promises aren’t available in all browsers yet, I’m falling back to Deferred objects because I know they’ll work, and I’m trying to limit the tools I use in this tutorial.

However, in jQuery 3, Deferred objects will be Promise/A+ compatible. So when that’s released, even if ECMAScript 6 hasn’t made its way into all the browsers yet, we’ll be able to use a web standard to manage these chained requests. Unfortunately, at the time of this writing, jQuery 3 is still in Alpha and not suitable for use in this tutorial.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.