Mastering JavaScript Promises
- Length: 220 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2015-08-03
- ISBN-10: 178398550X
- ISBN-13: 9781783985500
- Sales Rank: #7062882 (See Top 100 Books)
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