November 2013
Intermediate to advanced
148 pages
3h 12m
English
As a programmer, chances are you’ve had to access a file system at some point: reading files, writing files, renaming and deleting files. We’ll start our Node.js journey in this familiar area, creating useful, asynchronous file utilities. Along the way we’ll explore the following aspects of Node development.
On the architecture front, you’ll see how the event loop shapes a program’s flow. We’ll use buffers for transporting data between Node’s JavaScript engine and its native core, and we’ll use Node’s module system to bring in core libraries.
Inside our programs, we’ll use common Node patterns like callbacks for handling asynchronous events. We’ll harness Node’s EventEmitter and ...
Read now
Unlock full access