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
- https://learning.oreilly.com/library/view/nodejs-in-action/9781617292576
- https://smile.amazon.com/Node-js-Action-Alex-R-Young/dp/1617292575
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
- 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 assumes you’re familiar with basic programming concepts. The first chapter provides an overview of JavaScript and ES2015 for those of you who haven’t yet discovered the joys of modern JavaScript.
Roadmap
This book is organized into three parts.
Part 1 provides an introduction to Node.js, teaching the fundamental techniques needed to develop with it. Chapter 1 explains the characteristics of JavaScript and Node and steps through example code. Chapter 2 guides you through fundamental Node.js programming concepts. Chapter 3 is a full tutorial on how to build a web application from scratch.
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.