Manning Early
Access Program
Node.js in Action

EARLY ACCESS EDITION
Mike Cantelon, TJ Holowaychuk and Nathan Rajlich

MEAP Began: August 2011
Softbound print: June 2013 (est.) | 300 pages
ISBN: 9781617290572

Become a reviewer
Pre-Order options*
Order today and start reading Node.js in Action today through MEAP        
  MEAP + Ebook only - $31.99
  MEAP + Print book (includes Ebook) when available - $39.99
* For more information, please see the MEAP FAQs page.
  About MEAP Release Date Estimates     

Table of Contents, MEAP Chapters & Resources

Table of Contents         Resources 
PART 1: NODE FUNDAMENTALS
  1: Welcome to Node.js - FREE
  2: Building a multi-room chat application - AVAILABLE
  3: Node programming fundamentals - AVAILABLE

PART 2:WEB APPLICATION DEVELOPMENT WITH NODE
  4: Buiding Node web applications - AVAILABLE
  5: Storing Node application data - AVAILABLE
  6: Testing Node applications - AVAILABLE
  7: Connect - AVAILABLE
  8: Connect's built-in middleware - AVAILABLE
  9: Express - AVAILABLE
10: Web application templating - AVAILABLE
11: Deploying Node web applications - AVAILABLE

PART 3: GOING FURTHER WITH NODE
12: Beyond web servers - AVAILABLE
13: The Node ecosystem - AVAILABLE

APPENDIXES
  A: Installing Node and community add-ons - AVAILABLE
  B: Debugging Node - AVAILABLE
 

DESCRIPTION

JavaScript on the server? Yep. Node.js is an elegant server-side JavaScript development environment perfect for scalable, high-performance web applications. With Node you access HTTP and TCP/IP functionality through a minimalist server-side Javascript interface. It supports an asynchronous programming model that enables the web server to more easily do more than one thing at a time, a key requirement for real-time applications such as chat, online games, and live statistics. And since it's JavaScript, you'll use the same language throughout your entire application.

Node.js in Action is an example-driven tutorial that starts at square one and guides you through all the features, techniques, and concepts you'll need to build production-quality Node applications. You'll start by learning how to set up your Node development environment, including loading the community-created extensions. Next, you'll run several simple demonstration programs where you'll learn the basics of a few common types of Node applications. Then you'll dive into asynchronous programming, a model Node leverages to lessen application bottlenecks.

With the basics under your belt, you're ready to start building serious web applications using Node's HTTP API. You'll explore data storage, application deployment, and output templating, and you'll discover community frameworks that make web development easier and faster. Along the way, you'll learn to interact with the filesystem and to create non-HTTP applications, such as TCP/IP servers and command-line tools.

Much of the Node ecosystem is open source, so this book will show you how the community works and how you can contribute. You'll learn about the NPM Repository, where most community extensions reside, and you'll learn how to publish your own extensions. In addition, the book outlines online resources for getting help with any stumbling blocks you run into during your journey as a Node developer.

WHAT'S INSIDE

Node.js in Action is perfect for web developer coming to Node from established technologies such as Ruby on Rails and PHP. This book requires basic knowledge of JavaScript.

About the Authors

Mike Cantelon is a web programmer with 10 years of experience in bespoke and product-oriented web application development. TJ Holowaychuk is a prolific open-source engineer who has backed Node since its infancy. He has also authored many robust Node.js modules, including the popular Express web framework, Cluster, Stylus, and Jade, among many others. Nathan Rajlich is one of the core committers to Node.js and has been an active member of the community for almost two years. He has written a wide range of modules, most notably node-gyp, NodObjC, and ansi.js.

About the Early Access Version

This Early Access version of Node.js in Action enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Online

Want to learn More?

Sign up to read more content when it is released and to receive news about this book.