JavaScript promises essentials : build fully functional web applications using promises, the new standard in JavaScript /
Saved in:
Author / Creator: | Sarieddine, Rami, author. |
---|---|
Imprint: | Birmingham : Packt Publishing, 2014. |
Description: | 1 online resource |
Language: | English |
Series: | Community experience distilled Community experience distilled. |
Subject: | |
Format: | E-Resource Book |
URL for this record: | http://pi.lib.uchicago.edu/1001/cat/bib/11236405 |
Table of Contents:
- Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: JavaScript Promises
- Why Should I Care?; Asynchronous programming in JavaScript; Why should I care about promises?; Can''t I just use a callback?; Summary; Chapter 2: The Promise API and Its Compatibility; Getting to know the API; Browser support and compatibility; Checking the browser compatibility; Libraries with promise-like features; Summary; Chapter 3: Chaining of Promises; Chaining like never before; Chaining in sequence; Summary.
- Chapter 4: Error HandlingExceptions and promises; Handling errors with promises; Summary; Chapter 5: Promises in WinJS; Introducing WinJS; Explaining the WinJS. Promise object; Constructors; Events; Methods; Using WinJS promises; Summary; Chapter 6: Putting It All Together
- Promises in Action; Implementing a promise library; Implementing the then method; Defining a resolve method; Implementing the doResolve function; Wrapping the code; Putting the promise into action; Summary; Index.