JavaScript promises essentials : build fully functional web applications using promises, the new standard in JavaScript /
If you are a JavaScript developer working with asynchronous operations and want to know more about promises, then this book is ideal for you. Having a detailed explanation of JavaScript promises will be perfect as your next step towards adopting this new standard and using the API in your web and Ja...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2014.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- 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.