Node.js in Action


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.

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.

What’s Inside

  • Set up Node and extensions
  • Grok asynchronous programming and the event loop
  • Examples including microblogging, IM, games, and more

Table of Contents
Part 1: Node fundamentals
Chapter 1. Welcome to Node.js Built on JavaScript
Chapter 2. Building a multiroom chat application
Chapter 3. Node programming fundamentals

Part 2: Web application development with Node
Chapter 4. Building Node web applications
Chapter 5. Storing Node application data
Chapter 6. Connect
Chapter 7. Connect’s built-in middleware
Chapter 8. Express
Chapter 9. Advanced Express
Chapter 10. Testing Node applications
Chapter 11. Web application templating

Part 3: Going further with Node
Chapter 12. Deploying Node applications and maintaining uptime
Chapter 13. Beyond web servers
Chapter 14. The Node ecosystem

Appendix A. Installing Node and community add-ons
Appendix B. Debugging Node
Appendix C. Extending and configuring Express

Book Details

  • Paperback: 416 pages
  • Publisher: Manning Publications (November 2013)
  • Language: English
  • ISBN-10: 1617290572
  • ISBN-13: 978-1617290572
Download [15.3 MiB]

You may also like...

Leave a Reply