See: Node.js in Action, Second Edition, Publisher : Manning Publications; 2nd edition (September 17, 2017)
- Manning Publications – https://manning.com/books/node-js-in-action-second-edition
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
About the Book
- Mastering non-blocking I/O
- The Node event loop
- Testing and deploying
- Web application templating
About the Reader
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
- Welcome to Node.js
- Node programming fundamentals
- What is a Node web application?
- Front-end build systems
- Server-side frameworks
- Connect and Express in depth
- Web application templating
- Storing application data
- Testing Node applications
- Deploying Node applications and maintaining uptime
- Writing command-line applications
- Conquering the desktop with Electron
About this Book
The first edition of Node.js in Action was about web development with a particular focus on the Connect and Express web frameworks. Node.js in Action, Second Edition has been updated to suit the changing requirements of Node development. You’ll learn about front-end build systems, popular Node web frameworks, and how to build a web application with Express from scratch. You’ll also learn how to create automated tests and deploy Node web applications.
Node is being increasingly used for command-line developer tools and desktop applications with Electron, so you’ll find chapters dedicated to both of these areas.
This book is organized into three parts.
Part 2, the largest section of the book, focuses on web application development. Chapter 4 dispels some of the mystery around front-end build systems: if you’ve ever had to use webpack or Gulp in a project but didn’t really understand it, this is the chapter for you. Chapter 5 reviews some of the most popular server-side frameworks available for Node, and chapter 6 goes into Connect and Express in more depth. Chapter 7 is dedicated to templating languages, which can improve your productivity when writing server-side code. Most web applications need a database, so chapter 8 covers the many types of databases that you can use with Node, from relational to NoSQL. Chapters 9 and 10 deal with testing and deployment, and this includes cloud deployment.
Part 3 goes beyond web application development. Chapter 11 is about building command-line applications with Node so you can create developer-friendly text interfaces. If you’re excited about the prospect of building desktop apps such as Atom with Node, then take a look at chapter 12, which is all about Electron.
We’ve also included three detailed appendixes. Appendix A has instructions on how to install Node for macOS and Windows. Appendix B is a detailed tutorial on web scraping, and appendix C reviews each of the officially supported middleware components for the Connect web framework.