Book Image

Mastering JavaScript Promises

Book Image

Mastering JavaScript Promises

Overview of this book

Table of Contents (16 chapters)
Mastering JavaScript Promises
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we learned what a programming model is and how they are implemented in different languages, starting from a simple programming model to the synchronous model to the asynchronous model.

We also saw how tasks were organized in the memory and how they were served according to their turns and priorities, and how programming models decide what task is to be served.

We have also seen how the asynchronous programming model works in JavaScript, and why it's necessary to learn the dynamics of the asynchronous model to write better, maintainable, and robust code.

This chapter also explained how the major concepts of JavaScript are implemented and their roles from different angles in an application development.

We have also seen how callbacks, events, and observer were applied within JavaScript and how these core concepts are driving today's application development scenes.

In the next chapter, Chapter 3, The Promise Paradigm, we will learn a great deal about promise and how it's...