官术网_书友最值得收藏!

Chapter 2. The JavaScript Asynchronous Model

In this chapter, we will look at the model behind asynchronous programming, why it was needed, and how it is implemented in JavaScript.

We will also learn what a programming model is and its significance, starting from a simple programming model to a synchronous model to an asynchronous model. Since our prime focus is on JavaScript, which employs an asynchronous programming model, we will discuss it in more detail than the rest of the models.

Let's start with what models are and their significance.

Models are basically templates upon which the logics are designed and fabricated within a compiler/interpreter of a programming language so that software engineers can use these logics in writing their software logically. Every programming language we use is designed on a particular programming model. Since software engineers are asked to solve a particular problem or to automate any particular service, they adopt programming languages as per the need.

There is no set rule that assigns a particular language to create products. Engineers adopt any language based on the need.

主站蜘蛛池模板: 赤峰市| 石渠县| 循化| 鹤庆县| 平利县| 白沙| 莱州市| 庆安县| 固阳县| 连山| 江西省| 独山县| 武宁县| 溧阳市| 长武县| 长丰县| 芒康县| 会昌县| 双柏县| 越西县| 颍上县| 长沙市| 三门峡市| 隆子县| 藁城市| 肇源县| 县级市| 维西| 法库县| 西充县| 黄平县| 焦作市| 昌乐县| 张北县| 新巴尔虎左旗| 茌平县| 闵行区| 娄烦县| 扶沟县| 新兴县| 民勤县|