Book description
Learn to build fast and scalable software in JavaScript with Node.js
Node.js is a powerful and popular new framework for writing scalable network programs using JavaScript. This no nonsense book begins with an overview of Node.js and then quickly dives into the code, core concepts, and APIs. In-depth coverage pares down the essentials to cover debugging, unit testing, and flow control so that you can start building and testing your own modules right away.
Covers node and asynchronous programming main concepts
Addresses the basics: modules, buffers, events, and timers
Explores streams, file systems, networking, and automated unit testing
Goes beyond the basics, and shares techniques and tools for debugging, unit testing, and flow control
If you already know JavaScript and are curious about the power of Node.js, then this is the ideal book for you.
Table of contents
- Cover
- Contents
- Part I: Introduction and Setup
-
Part II: Node Core API Basics
- Chapter 3: Loading Modules
- Chapter 4: Using Buffers to Manipulate, Encode, and Decode Binary Data
- Chapter 5: Using the Event Emitter Pattern to Simplify Event Binding
-
Chapter 6: Scheduling the Execution of Functions Using Timers
- Using setTimeout to Defer the Execution of a Function
- Using clearTimeout to Cancel the Execution of a Function
- Scheduling and Canceling the Repetitive Execution of a Function
- Using process.nextTick to Defer the Execution of a Function Until the Next Event Loop Iteration
- Blocking the Event Loop
- Escaping the Event Loop
- Using setTimeout Instead of setInterval to Force Serialization
- Summary
-
Part III: Files, Processes, Streams, and Networking
- Chapter 7: Querying, Reading From, and Writing to Files
- Chapter 8: Creating and Controlling External Processes
- Chapter 9: Reading and Writing Streams of Data
- Chapter 10: Building TCP Servers
- Chapter 11: Building HTTP Servers
- Chapter 12: Building a TCP Client
- Chapter 13: Making HTTP Requests
- Chapter 14: Using Datagrams (UDP)
- Chapter 15: Securing Your TCP Server With TLS/SSL
- Chapter 16: Securing Your HTTP Server With HTTPS
- Part IV: Building and Debugging Modules and Applications
- Part V: Building Web Applications
- Part VI: Connecting to Databases
- Introduction
- Advertisements
Product information
- Title: Professional Node.js: Building Javascript Based Scalable Software
- Author(s):
- Release date: October 2012
- Publisher(s): Wrox
- ISBN: 9781118185469
You might also like
book
Building APIs with Node.js
Learn how to build scalable APIs using the Node.js platform and ES6 (EcmaScript 2015) with this …
book
Advanced Node.js Development
Takes you through creating your own API, building a full real-time web app, securing your Node …
book
Node.js in Practice
Node.js in Practice is a collection of fully tested examples that offer solutions to the common …
book
Smashing Node.js: JavaScript Everywhere, 2nd Edition
Learn to make more efficient apps, with just one language! Smashing Node.js: JavaScript Everywhere equips you …