Learning Node.js: A Hands-On Guide to Building Web Applications in JavaScript

Description

Learning Node.jsA Hands-On Guide to Building Web Applications in JavaScript

Node.js makes it far easier to create fast, compact, and reliable web/network applications and web servers, and is rapidly becoming indispensable to modern web developers.

Learning Node.js brings together the knowledge and JavaScript code you need to build master the Node.js platform and build server-side applications with extraordinary speed and scalability.

You’ll start by installing and running Node.js, understanding the extensions it uses, and quickly writing your first app. Next, building on the basics, you’ll write more capable application servers and extend them with today’s most powerful Node.js tools and modules. Finally, you’ll discover today’s best practices for testing, running Node.js code on production servers, and writing command-line utilities.

TypesType Comparisons and ConversionsFunctionsLanguage ConstructsClasses, Prototypes, and Inheritance Errors and Exceptions Some Important Node.js Globals

Chapter 3 Asynchronous Programming

The Old Way of Doing ThingsThe Node.js Way of Doing ThingsError Handling and Asynchronous Functions Who Am I? Maintaining a Sense of IdentityBeing Polite–Learning to Give Up ControlSynchronous Function Calls