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

1 The Node.js Platform

Some principles and design patterns literally define the developer experience with the Node.js platform and its ecosystem. The most peculiar one is probably its asynchronous nature, which makes heavy use of asynchronous constructs such as callbacks and promises. In this introductory chapter, we will explore where Node.js gets its asynchronous behavior from. This is not just good-to-know theoretical information: knowing how Node.js works at its core will give you a strong foundation for understanding the reasoning behind more complex topics and patterns that we will cover later in the book.

Another important aspect that characterizes Node.js is its philosophy. Approaching Node.js is, in fact, far more than simply learning a new technology: it's also embracing a culture and a community. You will see how this greatly influences the way we design our applications and components, and the way they interact with those created by the community.

In this chapter, you will learn about the following:

  • The Node.js philosophy or the "Node way"
  • The reactor pattern—the mechanism at the heart of the Node.js asynchronous event-driven architecture
  • What it means to run JavaScript on the server compared to the browser
主站蜘蛛池模板: 徐水县| 桐庐县| 苗栗县| 江津市| 赫章县| 祥云县| 蒙阴县| 甘南县| 庄浪县| 新龙县| 大丰市| 东宁县| 龙陵县| 冀州市| 武义县| 松滋市| 沁源县| 东宁县| 江阴市| 望都县| 阿克苏市| 福建省| 绩溪县| 平山县| 巴林右旗| 南和县| 疏勒县| 荥经县| 晋宁县| 长沙市| 土默特左旗| 印江| 南乐县| 公主岭市| 深泽县| 台州市| 兴海县| 景宁| 嘉兴市| 敖汉旗| 贵州省|