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

Summary

In this chapter, you have seen how the Node.js platform is built upon a few important principles that shape both its internal architecture and the code we write. You have learned that Node.js has a minimal core, and that embracing the "Node way" means writing modules that are smaller, simpler, and that expose only the minimum functionality necessary.

Next, you discovered the reactor pattern, which is the pulsating heart of Node.js, and dissected the internal architecture of the platform runtime to reveal its three pillars: V8, libuv, and the core JavaScript library.

Finally, we analyzed some of the main characteristics of using JavaScript in Node.js compared to the browser.

Besides the obvious technical advantages enabled by its internal architecture, Node.js is attracting so much interest because of the principles you have just discovered and the community orbiting around it. For many, grasping the essence of this world feels like returning to the origins, to a more humane way of programming in both size and complexity, and that's why developers end up falling in love with Node.js.

In the next chapter, we will go deep into one of the most fundamental and important topics of Node.js, its module system.

主站蜘蛛池模板: 盐源县| 肇源县| 奉化市| 仁布县| 响水县| 于田县| 东丽区| 恩平市| 永宁县| 韶山市| 开平市| 高州市| 儋州市| 南康市| 绥中县| 泊头市| 郁南县| 夏邑县| 成安县| 高台县| 海丰县| 从化市| 土默特左旗| 松溪县| 通化市| 嵩明县| 墨竹工卡县| 滦南县| 疏勒县| 武冈市| 连江县| 余干县| 平陆县| 涪陵区| 贵溪市| 浪卡子县| 崇义县| 长海县| 关岭| 剑川县| 垦利县|