Book Description
Discover and explore the world of promises, one of JavaScript’s most powerful concepts
About This Book
- Look into Promises in-depth, learn how they are utilized in different modern web programming technologies, and gain the knowledge and confidence to apply them in your next venture
- Explore how different functions are applying Promises to achieve different goals
- A step-by-step guide to implementing Promises in different frameworks including Node.js, Angular.js, and jQuery
Who This Book Is For
This book is for all the software and web engineers wanting to apply the promises paradigm to their next project and get the best outcome from it. This book also acts as a reference for the engineers who are already using promises in their projects and want to improve their current knowledge to reach the next level. To get the most benefit from this book, you should know basic programming concepts, have a familiarity with JavaScript, and a good understanding of HTML.
What You Will Learn
- Get a complete overview of the promises paradigm and its advantages
- Discover the programming models that are used to build JavaScript
- Execute the asynchronous programming model in JavaScript and understand its usefulness in modern web development
- Employ promises in JavaScript to boost your project performance
- Apply the best practices of promises in JavaScript to your platform of choice
- Manage your JavaScript code in a more professional and maintainable manner
- Utilize promises effectively and efficiently in different domains and disciplines of software engineering
- Implement promises in WinRT, Node.js, jQuery, and Angular.js
In Detail
JavaScript is a tool for the gurus who create highly useful applications, but it has some limitations. To overcome these limitations, a concept called JavaScript promises is rising rapidly in popularity. Promises makes writing complex logics more manageable and easy.
This book starts with an introduction to JavaScript promises and how it has evolved over time. You will learn the JavaScript asynchronous model and how JavaScript handles asynchronous programming. Next, you will explore the promises paradigm and its advantages.
Finally, this book will show you how to implement promises in platforms used in project development including WinRT, jQuery, and Node.js.
Table of Contents
Chapter 1: Promises.js
Chapter 2: The JavaScript Asynchronous Model
Chapter 3: The Promise Paradigm
Chapter 4: Implementing Promises
Chapter 5: Promises in WinRT
Chapter 6: Promises in Node.js
Chapter 7: Promises in Angular.js
Chapter 8: Promises in jQuery
Chapter 9: JavaScript – The Future Is Now
中文:
书名:Mastering JavaScript Promises
发现和探索承诺的世界,这是JavaScript最强大的概念之一
About This Book
- 深入研究承诺,了解它们如何在不同的现代Web编程技术中使用,并获得在您的下一次冒险中应用它们的知识和信心
- 探索不同职能部门如何运用承诺来实现不同目标
- 在不同的框架(包括Node.js、Angular.js和jQuery)中实现承诺的逐步指南
Who This Book Is For
这本书是为所有想要将承诺范例应用到他们的下一个项目并从中获得最佳结果的软件和网络工程师而写的。这本书也为那些已经在他们的项目中使用承诺并希望提高他们现有知识以达到下一个水平的工程师提供参考。要从这本书中获得最大的好处,您应该了解基本的编程概念,熟悉JavaScript,并很好地理解HTML。
What You Will Learn
- 全面了解Promises范例及其优势
- 了解用于构建Java脚本的编程模型
- Execute the asynchronous programming model in JavaScript and understand its usefulness in modern web development
- 使用Java脚本中的承诺来提高项目性能
- 将Java中承诺的最佳实践应用于您选择的平台
- Manage your JavaScript code in a more professional and maintainable manner
- 在软件工程的不同领域和学科中有效和高效地利用承诺
- 在WinRT、Node.js、jQuery和Angular.js中实现承诺
In Detail
JavaScript是为创建非常有用的应用程序的大师提供的工具,但它有一些限制。为了克服这些限制,一种名为JavaScript Promise的概念正在迅速流行起来。承诺使编写复杂的逻辑更易于管理和容易。
本书首先介绍了JavaScript承诺以及它是如何随着时间的推移而演变的。您将学习JavaScript异步模型以及JavaScript如何处理异步编程。接下来,您将探索Promises范例及其优势。
最后,本书将向您展示如何在项目开发中使用的平台(包括WinRT、jQuery和Node.js)中实现承诺。
Table of Contents
Chapter 1: Promises.js
第2章:JavaScript异步模型
第三章:承诺范式
第四章:兑现承诺
Chapter 5: Promises in WinRT
第6章:Node.js中的承诺
第7章:Angular.js中的承诺
第8章:jQuery中的承诺
Chapter 9: JavaScript – The Future Is Now
评论前必须登录!
注册