Node.js the Right Way
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 ØMQ (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
Book Details
- Paperback: 148 pages
- Publisher: Pragmatic Bookshelf (November 2013)
- Language: English
- ISBN-10: 1937785734
- ISBN-13: 978-1937785734