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

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.

主站蜘蛛池模板: 聊城市| 甘孜| 萨嘎县| 东光县| 景泰县| 五莲县| 北票市| 宝兴县| 怀来县| 黄平县| 通榆县| 黄陵县| 葫芦岛市| 招远市| 高要市| 浮山县| 亚东县| 嘉定区| 闸北区| 南开区| 龙南县| 霸州市| 乌拉特中旗| 兴安县| 宜春市| 文水县| 长阳| 德钦县| 安远县| 呼伦贝尔市| 义马市| 徐州市| 高淳县| 哈巴河县| 通辽市| 阿瓦提县| 洱源县| 全椒县| 长汀县| 鹿泉市| 普洱|