JavaScript Promises Essentials

0
(0)

JavaScript Promises Essentials
 

  • Author:Rami Sarieddine
  • Length: 88 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2014-09-25
  • ISBN-10: 178398564X
  • ISBN-13: 9781783985647
  • Sales Rank: #4793913 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Build fully functional web applications using promises, the new standard in JavaScript

    About This Book

    • Integrate JavaScript Promises into your application by mastering the key concepts of the Promises API
    • Replace complex nested callbacks in JavaScript with the more intuitive chained Promises
    • Acquire the knowledge needed to start working with JavaScript Promises immediately

    Who This Book Is For

    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 JavaScript applications.

    In Detail

    Promises are a new programming paradigm in JavaScript that allow developers to request data that they don’t have yet and deal with it at a non-determined point in the future (asynchronously). Starting with the basics of the promise objects, we’ll be able to leverage the maximum capabilities of promises when writing applications.

    This book starts by giving you some background information on the asynchronous programming model in JavaScript, recognizing its importance in JavaScript programming. It then walks you through the key concepts and intricacies of the Promises API. Following that, you will learn how you can write complex asynchronous operations with chained promises and be able to catch and handle exceptions. With this book, you’ll learn how to write better asynchronous operations using JavaScript promises.

    Table of Contents

    Chapter 1. JavaScript Promises – Why Should I Care?
    Chapter 2. The Promise API and Its Compatibility
    Chapter 3. Chaining of Promises
    Chapter 4. Error Handling
    Chapter 5. Promises in WinJS
    Chapter 6. Putting It All Together – Promises in Action

    中文:

    书名:JavaScript Promises Essentials

    使用新的JavaScript标准Promise构建功能齐全的Web应用程序

    关于本书

    • 通过掌握Promises API的关键概念将JavaScript Promises集成到您的应用程序中
    • 用更直观的链式承诺替换Java中复杂的嵌套回调
    • 获取立即开始使用JavaScript承诺所需的知识

    这本书是为谁写的

    如果您是一名使用异步操作的JavaScript开发人员,并且希望更多地了解承诺,那么这本书是您的理想之选。在Web和JavaScript应用程序中采用这一新标准并使用该API的下一步,最好是对JavaScript承诺进行详细的解释。

    详细地说

    Promise是一种新的JavaScript编程范例,它允许开发人员请求他们还没有的数据,并在未来的某个不确定的时间点处理它(异步)。从Promise对象的基础开始,我们将能够在编写应用程序时充分利用Promise的功能。

    本书首先向您介绍了一些关于用JavaScript编写的异步编程模型的背景信息,并认识到它在JavaScript编程中的重要性。然后,它将向您介绍Promises API的关键概念和复杂之处。接下来,您将学习如何使用连锁承诺编写复杂的异步操作,并能够捕获和处理异常。通过这本书,您将学习如何使用JavaScript承诺编写更好的异步操作。

    目录表

    第1章.JavaScript承诺–我为什么要关心?
    第2章Promise API及其兼容性
    Chapter 3. Chaining of Promises
    第4章.错误处理
    Chapter 5. Promises in WinJS
    第6章:把一切放在一起–将承诺付诸行动

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册