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

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.

主站蜘蛛池模板: 涟水县| 巴东县| 临城县| 孟州市| 慈溪市| 平度市| 阜平县| 两当县| 衡阳县| 河津市| 西林县| 伊金霍洛旗| 赣榆县| 达孜县| 西畴县| 咸丰县| 昌江| 开化县| 琼结县| 民乐县| 澎湖县| 涞源县| 芦溪县| 东阿县| 海南省| 泾源县| 酒泉市| 措美县| 子洲县| 格尔木市| 湖北省| 秭归县| 肥西县| 明光市| 深州市| 湾仔区| 山阳县| 永福县| 萨迦县| 东阿县| 彭水|