Tag

EventEmitter

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
May 8, 2023 · Backend Development

Concurrent Requests to Third-Party APIs in Node.js

This article explains how to use Node.js's built‑in http/https modules to call third‑party APIs and demonstrates three concurrency techniques—Promise.all, async/await with Promise.race, and EventEmitter—to perform parallel requests efficiently, including code examples for constructing requests, handling responses, and error management.

Async/AwaitConcurrencyEventEmitter
0 likes · 8 min read
Concurrent Requests to Third-Party APIs in Node.js
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Mar 3, 2022 · Backend Development

Understanding Node.js Readable Streams: Internals, API, and Implementation

This article explains the fundamentals and internal mechanics of Node.js readable streams, covering their history, data structures like BufferList, state management, key APIs such as push, read, pipe, and how they inherit from EventEmitter to enable efficient, low‑memory data processing.

BufferListEventEmitterReadableStream
0 likes · 29 min read
Understanding Node.js Readable Streams: Internals, API, and Implementation
Sohu Tech Products
Sohu Tech Products
Mar 18, 2020 · Backend Development

Node.js Quick Start Tutorial: Environment, Global Objects, Modules, CLI, npm, and Event Handling

This tutorial provides a comprehensive introduction to Node.js, covering its runtime environment, core global objects, module system, command‑line interface development, npm package management, script automation, and event handling with practical code examples and explanations for front‑end engineers transitioning to back‑end development.

CLIEventEmitterModules
0 likes · 31 min read
Node.js Quick Start Tutorial: Environment, Global Objects, Modules, CLI, npm, and Event Handling
Youzan Coder
Youzan Coder
Jul 6, 2018 · Frontend Development

Reactive Programming in Frontend: EventEmitter, Redux, and Mobx

The article contrasts push‑based reactive programming with imperative code, then walks through a simple EventEmitter with manual cleanup, examines Redux’s store subscriptions and middleware overhead, explores Mobx’s automatic dependency tracking via getters, setters and autorun, and compares the boilerplate, performance, and hidden‑dependency trade‑offs before previewing a future post on using Observables for asynchronous events.

EventEmitterReduxmobx
0 likes · 6 min read
Reactive Programming in Frontend: EventEmitter, Redux, and Mobx
360 Quality & Efficiency
360 Quality & Efficiency
Mar 5, 2018 · Backend Development

Design Patterns for Node.js Applications

This article explains key Node.js design patterns—including EventEmitter, streams, control‑flow libraries, coding style, testing, and logging—providing practical guidance and recommended tools for building robust, maintainable backend applications.

Design PatternsEventEmitterStreams
0 likes · 11 min read
Design Patterns for Node.js Applications