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

Summing up – the asynchronous programing model

So far, we have seen how the asynchronous model is implemented in JavaScript. This is one core aspect of understanding that JavaScript has its own implementation for the asynchronous programming model, and it has employed much of the core concepts in the asynchronous programming model.

  • The asynchronous mode is very important. In the browser, a very time-consuming operation should be performed asynchronously, avoiding the browser unresponsive time; the best example is the Ajax operations.
  • On the server side, the asynchronous mode of execution since the environment is single threaded. So, if you allow synchronization to perform all http requests, server performance will decline sharply and will soon lose responsiveness.
  • These are simple reasons why implementation on JavaScript is widely accepted in modern applications on all ends of needs. Databases such as MongoDB, Node.js as Server Side JavaScript, Angular.js, and Express.js as frontend, and logic building tools are examples of how heavily JavaScript is implemented throughout the industry. Their stack is commonly refer red to as the MEAN stack (MongoDB, Angular.js, Express.js, and Node.js)
主站蜘蛛池模板: 沁水县| 奉新县| 富蕴县| 汕尾市| 保靖县| 罗源县| 泊头市| 资兴市| 青阳县| 永福县| 清流县| 仁怀市| 常山县| 宜兰县| 蒙城县| 巴青县| 通榆县| 马山县| 乐亭县| 潢川县| 望谟县| 东光县| 锡林郭勒盟| 皮山县| 达州市| 南和县| 南通市| 中牟县| 永州市| 老河口市| 阿坝县| 临泽县| 青铜峡市| 奈曼旗| 会昌县| 清流县| 衡水市| 繁峙县| 庆阳市| 承德市| 桂阳县|