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

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.

主站蜘蛛池模板: 同心县| 绥化市| 凤山市| 万源市| 健康| 上杭县| 永定县| 通州区| 西盟| 江安县| 科尔| 墨玉县| 山丹县| 连城县| 新民市| 陵川县| 大足县| 云和县| 聂荣县| 肥西县| 文登市| 石楼县| 喜德县| 京山县| 萝北县| 阿拉善盟| 武邑县| 长春市| 安图县| 祁门县| 福州市| 凌源市| 龙州县| 漳浦县| 台北市| 墨脱县| 曲麻莱县| 比如县| 光泽县| 江口县| 平利县|