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

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.

主站蜘蛛池模板: 漠河县| 西和县| 读书| 沽源县| 福建省| 新乐市| 宣恩县| 望谟县| 甘洛县| 乌海市| 沂南县| 泸定县| 沁源县| 乃东县| 玛沁县| 南木林县| 乌苏市| 射阳县| 永济市| 昆明市| 平和县| 敦化市| 长丰县| 承德县| 南华县| 青阳县| 万荣县| 兴国县| 临颍县| 天气| 祁东县| 衡水市| 义乌市| 隆德县| 固安县| 定远县| 冷水江市| 克什克腾旗| 隆林| 尤溪县| 四川省|