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

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
主站蜘蛛池模板: 凯里市| 唐山市| 吉首市| 三都| 延川县| 巩留县| 嵩明县| 中山市| 洛阳市| 安溪县| 清河县| 武强县| 通渭县| 阳春市| 普宁市| 西藏| 天全县| 贵定县| 银川市| 明溪县| 乌兰县| 定安县| 汾阳市| 芷江| 年辖:市辖区| 云安县| 平乡县| 怀来县| 舟山市| 阳东县| 咸宁市| 白银市| 长宁县| 丰原市| 宁阳县| 陆河县| 会理县| 三江| 武乡县| 乌兰浩特市| 福泉市|