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

  • Node.js Design Patterns
  • Mario Casciaro
  • 252字
  • 2021-08-06 19:45:31

What this book covers

Chapter 1, Node.js Design Fundamentals, serves as an introduction to the world of Node.js application design by showing the patterns at the core of the platform itself. It covers the reactor pattern, the callback pattern, the module pattern, and the observer pattern.

Chapter 2, Asynchronous Control Flow Patterns, introduces a set of patterns and techniques for efficiently handling asynchronous control flow in Node.js. This chapter teaches you how to mitigate the "callback hell" problem using plain JavaScript, the async library, Promises, and Generators.

Chapter 3, Coding with Streams, dives deeply into one of the most important patterns in Node.js: Streams. It shows you how to process data with transform streams and how to combine them into different layouts.

Chapter 4, Design Patterns, deals with a controversial topic: traditional design patterns in Node.js. It covers the most popular conventional design patterns and shows you how unconventional they might look in Node.js.

Chapter 5, Wiring Modules, analyzes the different solutions for linking the modules of an application together. In this chapter, you will learn design patterns such as Dependency Injection and Service locator.

Chapter 6, Recipes, takes a problem-solution approach to show you how some common coding and design challenges can be solved with ready-to-use solutions.

Chapter 7, Scalability and Architectural Patterns, teaches you the basic techniques and patterns for scaling a Node.js application.

Chapter 8, Messaging and Integration Patterns, presents the most important messaging patterns, teaching you how to build and integrate complex distributed systems using ZMQ and AMQP.

主站蜘蛛池模板: 陵水| 云霄县| 民乐县| 资兴市| 收藏| 凤阳县| 宜州市| 吴桥县| 瑞安市| 汉寿县| 渭南市| 丰原市| 克山县| 安达市| 景洪市| 普兰县| 广西| 乌兰浩特市| 永仁县| 凤庆县| 麟游县| 和田市| 马公市| 安顺市| 广南县| 通州区| 普兰县| 周宁县| 孙吴县| 白水县| 衡东县| 本溪市| 内丘县| 琼海市| 友谊县| 潮安县| 正定县| 兖州市| 漠河县| 武陟县| 平潭县|