CONTENTS
Part I: Introduction and Setup
Installing Node Using the Source Code
Setting Up and Using Node Package Manager
Introducing the Event-Driven Programming Style
How Node and JavaScript Make Writing Asynchronous Applications Easier
Understanding How Node Loads Modules
Chapter 4: Using Buffers to Manipulate, Encode, and Decode Binary Data
Getting and Setting Bytes in a Buffer
Chapter 5: Using the Event Emitter Pattern to Simplify Event Binding
Understanding the Standard Callback Pattern
Understanding the Event Emitter Pattern
Chapter 6: Scheduling the Execution of Functions Using Timers
Using setTimeout to Defer the Execution of a Function
Using clearTimeout to Cancel the Execution of a Function
Scheduling and Canceling the Repetitive Execution of a Function
Using process.nextTick to Defer the Execution of a Function Until the Next Event Loop Iteration
Using setTimeout Instead of setInterval to Force Serialization
Part III: Files, Processes, Streams, and Networking
Get Professional Node.js: Building Javascript Based Scalable Software now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.