Node.js in Action

- Authors
- Mike Cantelon, Marc Harter, T.J. Holowaychuk Nathan Rajlich
- Publisher
- Manning Publications
- ISBN
- 9781617290572
- Date
- 2011-01-01T00:00:00+00:00
- Size
- 9.30 MB
- Lang
- en
**Summary**
*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.
**About this Book**
JavaScript on the server? You bet. Node.js is a JavaScript server capable of supporting scalable, high-performance web applications. Using asynchronous I/O, the server can do more than one thing at a time, a key requirement for real-time apps like chat, games, and live statistics. And since it's JavaScript, you use the same language end to end.
*Node.js in Action* shows you how to build production-quality applications. Clear introductions of key concepts and example-by-example coverage take you from setup to deployment. You'll dive into asynchronous programming, data storage, and output templating, and interact with the filesystem to create non-HTTP applications like TCP/IP servers and command-line tools. Perfect for a web developer transitioning from Rails, Django, or PHP. Requires basic knowledge of JavaScript. No prior experience with Node.js needed.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
**What's Inside**
Set up Node and extensions Grok asynchronous programming and the event loop Examples including microblogging, IM, games, and more
**About the Authors**
As skilled practitioners, expert teachers and trainers, and contributors to the core framework, authors **Mike Cantelon** , **Marc Harter** , **T.J. Holowaychuk** , and **Nathan Rajlich** represent the best of the Node.js development community.
**Table of Contents**
PART 1 NODE FUNDAMENTALS Welcome to Node.js Building a multiroom chat application Node programming fundamentals PART 2 WEB APPLICATION DEVELOPMENT WITH NODE Building Node web applications Storing Node application data Connect Connect's built-in middleware Express Advanced Express Testing Node applications Web application templating PART 3 GOING FURTHER WITH NODE Deploying Node applications and maintaining uptime Beyond web servers The Node ecosystem