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

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.

主站蜘蛛池模板: 开封市| 临泽县| 长海县| 广水市| 柳林县| 翼城县| 榆林市| 晋宁县| 徐汇区| 泌阳县| 湖北省| 呼图壁县| 衡阳市| 濮阳县| 贡觉县| 汶上县| 东光县| 亳州市| 双城市| 自贡市| 武川县| 荣成市| 舒城县| 阿鲁科尔沁旗| 女性| 舞阳县| 寿宁县| 临海市| 固镇县| 沾化县| 北安市| 海丰县| 靖安县| 青海省| 内乡县| 红安县| 柳州市| 哈密市| 武宁县| 五大连池市| 浦北县|