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

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
主站蜘蛛池模板: 广宁县| 嘉义县| 吐鲁番市| 凤山市| 含山县| 鸡西市| 樟树市| 潢川县| 石家庄市| 平南县| 吐鲁番市| 南昌市| 会东县| 洪湖市| 疏附县| 共和县| 永福县| 舒兰市| 顺义区| 额济纳旗| 潍坊市| 马龙县| 光山县| 永福县| 临武县| 金塔县| 南岸区| 万盛区| 红河县| 抚宁县| 南木林县| 上杭县| 江达县| 简阳市| 揭西县| 青神县| 大埔县| 海淀区| 繁峙县| 观塘区| 崇礼县|