Learning Node.js: A Hands-On Guide to Building Web Applications in JavaScript, 2nd Edition

Book Description

This is the eBook of the printed book and may not include any media, website access codes, or print supplements that may come packaged with the bound book.

Learning .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 , 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 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 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 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

Table of Contents

Part I: Learning To Walk
Chapter 1 Getting Started
Chapter 2 A Closer Look At Javascript
Chapter 3 Asynchronous Programming

Part II: Learning To Run
Chapter 4 Writing Simple Applications
Chapter 5 Modules
Chapter 6 Expanding Your Web Server

Part III: Writing Web Applications
Chapter 7 Building Web Applications With Express
Chapter 8 Databases I: Nosql (Mongodb)
Chapter 9 Databases Ii: (Mysql)

Part IV: Getting The Most Out Of Node.Js
Chapter 10 Deployment And Development I: Rolling Your Own
Chapter 11 Deployment And Development Ii: Heroku And Azure
Chapter 12 Command-Line Programming
Chapter 13 Testing

Book Details

  • Title: Learning Node.js: A Hands-On Guide to Building Web Applications in JavaScript, 2nd Edition
  • Author:
  • Length: 320 pages
  • Edition: 2
  • Language: English
  • Publisher:
  • Publication Date: 2016-12-23
  • ISBN-10: B01N345BEK