- 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.
- C++案例趣學(xué)
- INSTANT Sencha Touch
- Python機(jī)器學(xué)習(xí)實(shí)戰(zhàn)
- Visual Basic程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)(第4版)
- 單片機(jī)應(yīng)用與調(diào)試項(xiàng)目教程(C語言版)
- 深入理解Elasticsearch(原書第3版)
- Extending Puppet(Second Edition)
- 從Java到Web程序設(shè)計(jì)教程
- 區(qū)塊鏈底層設(shè)計(jì)Java實(shí)戰(zhàn)
- Mastering Linux Security and Hardening
- RESTful Java Web Services(Second Edition)
- Visual Basic程序設(shè)計(jì)基礎(chǔ)
- Xamarin Cross-Platform Development Cookbook
- Windows 10 for Enterprise Administrators
- Oracle API Management 12c Implementation