- Mastering JavaScript Promises
- Muzzamil Hussain
- 181字
- 2021-07-16 13:46:47
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.
- Extending Jenkins
- GraphQL學(xué)習(xí)指南
- 單片機(jī)C語言程序設(shè)計(jì)實(shí)訓(xùn)100例:基于STC8051+Proteus仿真與實(shí)戰(zhàn)
- PyQt從入門到精通
- Vue.js 3.x從入門到精通(視頻教學(xué)版)
- Practical Windows Forensics
- INSTANT CakePHP Starter
- WordPress Plugin Development Cookbook(Second Edition)
- 軟件項(xiàng)目管理實(shí)用教程
- Learning Apache Cassandra
- Babylon.js Essentials
- Android嵌入式系統(tǒng)程序開發(fā):基于Cortex-A8(第2版)
- JavaScript+jQuery網(wǎng)頁特效設(shè)計(jì)任務(wù)驅(qū)動(dòng)教程
- Building Business Websites with Squarespace 7(Second Edition)
- Android熱門應(yīng)用開發(fā)詳解