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

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

  • Length: 148 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2013-12-05
  • ISBN-10: 1937785734
  • ISBN-13: 9781937785734
  • Sales Rank: #476043 (See Top 100 Books)
Description

Get to the forefront of server-side JavaScript programming by writing compact, robust, fast, networked Node applications that scale. Ready to take JavaScript beyond the browser, explore dynamic languages features and embrace evented programming? Explore the fun, growing repository of Node modules provided by npm. Work with multiple protocols, load-balanced RESTful web services, express, 0MQ, Redis, CouchDB, and more. Develop production-grade Node applications fast.

JavaScript is the backbone of the modern web, powering nearly every web app’s user interface. Node.js is JavaScript for the server. This book shows you how to develop small, fast, low-profile, useful, networked applications. You’ll write asynchronous, non-blocking code using Node’s style and patterns. You’ll cluster and load balance your services with Node core features and third-party tools. You’ll work with many protocols, creating RESTful web services, TCP socket clients and servers, and more.

This short book packs a hefty dose of Node.js. You’ll test your code’s functionality and performance under load. You’ll learn important aspects of Node development–from its architecture and core, to its ecosystem of third-party modules. You’ll discover how Node pairs a server-side event loop with a JavaScript runtime to produce screaming fast, non-blocking concurrency. Through a series of practical programming domains, you’ll use the latest available ECMAScript Harmony features and harness key Node classes such as EventEmitter and Stream. Throughout the book, you’ll develop real programs that are small, fast, low-profile, and useful.

Get ready to join a smart community that’s rapidly advancing the state of the art in web development.

What You Need:

Latest stable release of Node.js, this book was written with 0.12.x in mind. The 0MQ (ZeroMQ) library, version 3.2 or higher.

Table of Contents

Chapter 1. Getting Started
Chapter 2. Wrangling the File System
Chapter 3. Networking with Sockets
Chapter 4. Robust Messaging Services
Chapter 5. Accessing Databases
Chapter 6. Scalable Web Services
Chapter 7. Web Apps

To access the link, solve the captcha.