Node - Js in Practice
Node - Js in Practice
js in Practice
About the BOOK
Node.js in Practice is a collection of 115
thoroughly tested examples and instantly
useful techniques guaranteed to make
any Node application go more smoothly.
Following a common-sense Problem/
Solution format, these experience-fueled
techniques cover important topics like eventbased programming, streams, integrating
external applications, and deployment.
The abundantly annotated code makes the
examples easy to follow, and techniques are
organized into logical clusters, so its a snap to
find what youre looking for.
Written for readers who have a practical
knowledge of JavaScript and the basics of
Node.js.
Features
` 899/-
Summary
Node.js in Practice is a collection of fully tested examples that offer solutions to the common and not-socommon issues you face when you roll out Node. Youll dig into important topics like the ins and outs of
event-based programming, how and why to use closures, how to structure applications to take advantage of
end-to-end JavaScript apps, and more.
/dtechpress
/dreamtechpress
dreamtechpress.wordpress.com
Table of Contents
PART 1 NODE FUNDAMENTALS
1 Getting started
yy Getting to know Node
yy Building a Node application
2 Globals: Nodes environment
yy Modules
yy Standard I/O and the console object
yy Operating system and command-line integration
yy Delaying execution with timers
3 Buffers: Working with bits, bytes, and encodings
yy Changing data encodings
yy Converting binary files to JSON
yy Creating your own binary protocol
4 Events: Mastering EventEmitter and beyond
yy Basic usage
yy Error handling
yy Advanced patterns
yy Third-party modules and extensions
5 Streams: Nodes most powerful and misunderstood
feature
yy Introduction to streams
yy Built-in streams
yy Third-party modules and streams
yy Using the stream base classes
yy Advanced patterns and optimization
6 File system: Synchronous and asynchronous approaches
to files
yy An overview of the fs module
7 Networking: Nodes true Hello, World
yy Networking in Node
yy TCP clients and servers
yy UDP clients and servers
yy HTTP clients and servers
yy Making DNS requests
yy Encryption
Published by:
/dtechpress
/dreamtechpress
Exclusively
Distributed by:
dreamtechpress.wordpress.com