Always Learning

Advanced Search

Learning Node.js

Learning Node.js

A Hands-On Guide to Building Web Applications in JavaScript
2nd Edition

Marc Wandschneider

Apr 2017, Paperback, 320 pages
ISBN13: 9780134663708
ISBN10: 0134663705
Special online offer - Save 30%
Was 29.99, Now 20.99Save: 9.00
  • Print pagePrint page
  • Email this pageEmail page
  • Share

Learning Node.js brings together the knowledge and JavaScript code needed to build master the Node.js platform and build server-side applications with extraordinary speed and scalability.

You’ll start by installing and running Node.js, understanding the extensions it uses, and quickly writing your first app. Next, building on the basics, you’ll write more capable application servers and extend them with today’s most powerful Node.js tools and modules. Finally, you’ll discover today’s best practices for testing, running Node.js code on production servers, and writing command-line utilities.

Throughout the book, author Marc Wandschneider teaches by walking the reader line-by-line through carefully crafted examples, demonstrating proven techniques for creating highly efficient applications and servers.

The second edition updates coverage of Node.js to reflect changes in the technology and how it is used in the three years since the first edition was published:

  • Explanation of Node's new versioning scheme
  • Updated coverage of Streams
  • New coverage of installation using pre-build installers rather than from source code
  • New coverage of Mongoose in the section on MongoDB
  • New information about deploying Node on Heroku and Azure
  • Expansion of coverage on testing

If you're a developer who wants to build server-side web applications with Node.js, Learning Node.js is your fatest route to success.

  • Build Node.js solutions that leverage current JavaScript skills
  • Master Node.js nonblocking IO and async programming
  • Handle more requests and increase an application’s flexibility
  • Use and write modules
  • Perform common JSON/web server tasks
  • Use browsers to generate pages on the fly via Ajax calls and template libraries
  • Simplify development with the Express framework
  • Create database back-ends using popular NoSQL and relational databases
  • Deploy and run Node.js apps on Unix/macOS or Windows servers
  • Deploy apps to Heroku and Microsoft Azure
  • Support virtual hosts and SSL/HTTPS security
  • Test Node.js programs that mix synchronous, async, and RESTful server API functionality


Part I: Learning to Walk

1. Getting Started
2. A Closer Look at JavaScript
3. Asynchronous Programming

Part II: Learning to Run

4. Writing Simple Applications
5. Modules
6. Expanding Your Web Server

Part III: Writing Web Applications

7. Building Web Applications with Express
8. Databases I: NoSQL (MongoDB)
9. Databases II: SQL (MySQL)

Part IV: Getting the Most Out of Node.js

10. Deployment and Development I: Rolling Your Own
11. Deployment and Development II: Heroku and Azure
12. Command-Line Programming
13. Testing

  • A clear, example-rich introduction to creating next-generation web/network apps with Node.js — the hottest new web development technology since Rails
  • Concise, readable, friendly, and 100% practical: designed to help Node.js newcomers get results fast
  • Shows how to use Node.js to write fast, compact, and reliable applications and web servers
  • Walks through JavaScript code examples line by line, teaching best practices for developing effective, efficient Node.js solutions
  • Supported by extensive resources on the author’s companion website