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
Mike Cantelon is a web programmer with 10 years of experience in bespoke and product-oriented web application development
Marc Harter is a passionate JavaScript developer with deep experience in event-style programming. He works daily on large scale projects including high availability real-time applications, streaming interfaces, and other data intensive systems.
T.J. 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 an active Node developer who has been working with Node since its early days. He has authored an impressive collection of Node modules including NodObjC and maintains a port of Node that runs on Apple's iOS.