Sunteți pe pagina 1din 2

Node.

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/-

Common usage examples, from basic


to advanced

Authors: Alex Young and

ISBN: 9789351197744 Pages: 424 Marc Harter

Designing and writing modules

Testing and debugging Node apps

Integrating Node into existing systems

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.

About the AUTHORS


Alex Young is a seasoned JavaScript developer who blogs regularly at DailyJS. Marc Harter
works daily on large-scale projects including high-availability real-time applications, streaming
interfaces, and other data-intensive systems.
/dtechpress

/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

8 Child processes: Integrating external applications with


Node
yy Executing external applications
yy Executing Node programs 185
yy Working synchronously 192

Part 2 Real-world recipes


9 The Web: Build leaner and meaner web applications
yy Front-end techniques
yy Server-side techniques
yy Testing web applications
yy Full stack frameworks
yy Real-time services
10 Tests: The key to confident code
yy Introduction to testing with Node
yy Writing simple tests with assertions
yy Test harnesses
yy Test frameworks
yy Tools for tests
yy Further reading
11 Debugging: Designing for introspection and resolving
issues
yy Designing for introspection
yy Debugging issues
12 Node in production: Deploying applications safely
yy Deployment
yy Caching and scaling
yy Maintenance
yy Further notes on scaling and resiliency

Part 3 Writing modules


13 Writing modules: Mastering what Node is all about
yy Brainstorming
yy Building out the package.json file
yy The end user experience
yy Publishing

WILEY INDIA PVT. LTD.


DREAMTECH PRESS
4435-36/7, Ansari Road, Daryaganj
19-A, Ansari Road, Daryaganj
New Delhi-110 002, INDIA
New Delhi-110 002, INDIA
Tel: +91-11-4363 0000, Fax: +91-11-2327 5895
Tel: +91-11-2324 3463-73, Fax: +91-11-2324 3078
Email: csupport@wiley.com
Email: feedback@dreamtechpress.com
Website: www.wileyindia.com
Website: www.dreamtechpress.com
Regional Offices: Bangalore: Tel: +91-80-2313 2383, Fax: +91-80-2312 4319, Email: blrsales@wiley.com
Mumbai: Tel: +91-22-2788 9263, 2788 9272, Telefax: +91-22-2788 9263, Email: mumsales@wiley.com
/dtechpress

/dreamtechpress

Exclusively
Distributed by:

dreamtechpress.wordpress.com

S-ar putea să vă placă și