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

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.

主站蜘蛛池模板: 安吉县| 南溪县| 盐津县| 四会市| 巧家县| 宁河县| 平潭县| 凭祥市| 克东县| 富裕县| 成都市| 繁峙县| 内丘县| 绥化市| 多伦县| 观塘区| 平阴县| 清水河县| 祥云县| 茶陵县| 东乌珠穆沁旗| 松潘县| 安康市| 瑞金市| 长沙市| 千阳县| 辽阳县| 巧家县| 吐鲁番市| 宁陕县| 凤城市| SHOW| 玉龙| 定边县| 堆龙德庆县| 岳普湖县| 寿阳县| 高平市| 大同市| 华亭县| 博客|