Node.js 8 the Right Way: Practical, Server-Side JavaScript That Scales Front Cover

Node.js 8 the Right Way: Practical, Server-Side JavaScript That Scales

  • Length: 336 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2018-01-14
  • ISBN-10: 168050195X
  • ISBN-13: 9781680501957
  • Sales Rank: #56302 (See Top 100 Books)
Description

Node.js is the platform of choice for creating modern web services. This fast-paced book gets you up to speed on server-side programming with Node.js 8, as you develop real programs that are small, fast, low-profile, and useful. Take JavaScript beyond the browser, explore dynamic language features, and embrace evented programming.Harness the power of the event loop and non-blocking I/O to create highly parallel microservices and applications. This expanded and updated second edition showcases the latest ECMAScript features, current best practices, and modern development techniques.

JavaScript is the backbone of the modern web, powering nearly every web app’s user interface. Node.js is JavaScript for the server. This greatly expanded second edition introduces new language features while dramatically increasing coverage of core topics. Each hands-on chapter offers progressively more challenging topics and techniques, broadening your skill set and enabling you to think in Node.js.

Write asynchronous, non-blocking code using Node.js’s style and patterns. Cluster and load balance services with Node.js core features and third-party tools. Harness the power of databases such as Elasticsearch and Redis. Work with many protocols, create RESTful web services, TCP socket clients and servers, and more. Test your code’s functionality with Mocha, and manage its life cycle with npm. Discover how Node.js pairs a server-side event loop with a JavaScript runtime to produce screaming fast, non-blocking concurrency. Through a series of practical programming domains, use the latest available ECMAScript features and harness key Node.js classes and popular modules. Create rich command-line tools and a web-based UI using modern web development techniques.

Join the smart and diverse community that’s rapidly advancing the state of the art in JavaScript development.

What You Need

  • Node.js 8.x
  • Operating system with bash-like shell
  • OMQ (pronounced “Zero-M-Q”) library, version 3.2 or higher
  • Elasticsearch version 5.0 or higher
  • jq version 1.5 or higher
  • Redis version 3.2 or higher

Table of Contents

Part I Getting Up to Speed on Node.js 8
Chapter 1. Getting Started
Chapter 2. Wrangling The File System
Chapter 3. Networking With Sockets
Chapter 4. Connecting Robust Microservices

Part II Working with Data
Chapter 5. Transforming Data And Testing Continuously
Chapter 6. Commanding Databases

Part III Creating an Application from the Ground Up
Chapter 7. Developing Restful Web Services
Chapter 8. Creating A Beautiful User Experience
Chapter 9. Fortifying Your Application
Chapter 10. Bonus: Developing Flows With Node-Red

To access the link, solve the captcha.