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

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)
主站蜘蛛池模板: 象州县| 都兰县| 芒康县| 界首市| 昆山市| 唐海县| 无为县| 桃园县| 宜春市| 荣成市| 寿阳县| 天水市| 保定市| 扶绥县| 温州市| 托里县| 溧水县| 财经| 景德镇市| 岳池县| 乌兰县| 武安市| 二连浩特市| 信阳市| 准格尔旗| 广宗县| 云浮市| 密云县| 织金县| 南丰县| 隆德县| 凤凰县| 叙永县| 南宁市| 鲜城| 五家渠市| 鄂伦春自治旗| 临邑县| 韩城市| 白山市| 克什克腾旗|