Skip to Main Content

Summary

Node.js in Action, Second Edition is a thoroughly revised book based on the best-selling first edition. It starts at square one and guides you through all the features, techniques, and concepts you'll need to build production-quality Node applications.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

You already know JavaScript. The trick to mastering Node.js is learning how to build applications that fully exploit its powerful asynchronous event handling and non-blocking I/O features. The Node server radically simplifies event-driven real-time apps like chat, games, and live data analytics, and with its incredibly rich ecosystem of modules, tools, and libraries, it's hard to beat!

About the Book

Based on the bestselling first edition, Node.js in Action, Second Edition is a completely new book. Packed with practical examples, it teaches you how to create high-performance web servers using JavaScript and Node. You'll master key design concepts such as asynchronous programming, state management, and event-driven programming. And you'll learn to put together MVC servers using Express and Connect, design web APIs, and set up the perfect production environment to build, lint, and test.

What's Inside

  • Mastering non-blocking I/O
  • The Node event loop
  • Testing and deploying
  • Web application templating

About the Reader

Written for web developers with intermediate JavaScript skills.

About the Authors

The Second Edition author team includes Node masters Alex Young, Bradley Meck, Mike Cantelon, and Tim Oxley, along with original authors Marc Harter, T.J. Holowaychuk, and Nathan Rajlich.

Table of contents

    PART 1 - WELCOME TO NODE

  1. Welcome to Node.js
  2. Node programming fundamentals
  3. What is a Node web application?
  4. PART 2 - WEB DEVELOPMENT WITH NODE

  5. Front-end build systems
  6. Server-side frameworks
  7. Connect and Express in depth
  8. Web application templating
  9. Storing application data
  10. Testing Node applications
  11. Deploying Node applications and maintaining uptime
  12. PART 3 - BEYOND WEB DEVELOPMENT

  13. Writing command-line applications
  14. Conquering the desktop with Electron

Alex R. Young, a writer and web developer, blogs regularly about JavaScript at DailyJS where you'll find several series on Node and client-side JavaScript. Alex speaks at JavaScript events around the UK.

Bradley Meck is a Node.js contributor, with lots of operational experience from load balancing to systems design. Has used Linux / BSD in production and dev ops.

Mike Cantelon is a web programmer with 10 years of experience in bespoke and product-oriented web application development

Tim Oxley is a JavaScript, React, WebVR & NodeJS developer and contributor. He is a founder of @campjsnews & SingaporeJS.

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.