- Node.js Design Patterns
- Mario Casciaro Luciano Mammino
- 197字
- 2021-06-18 18:15:04
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
- Flutter開發實戰詳解
- Java系統分析與架構設計
- Hands-On Image Processing with Python
- Vue.js快跑:構建觸手可及的高性能Web應用
- Python王者歸來
- 零基礎學Python數據分析(升級版)
- Python漫游數學王國:高等數學、線性代數、數理統計及運籌學
- Learning Unity 2D Game Development by Example
- Android開發案例教程與項目實戰(在線實驗+在線自測)
- Java高并發核心編程(卷1):NIO、Netty、Redis、ZooKeeper
- Building Wireless Sensor Networks Using Arduino
- Test-Driven JavaScript Development
- Oracle實用教程
- OpenCV with Python Blueprints
- Struts 2.x權威指南