Professional Node.js: Building Javascript Based Scalable Software
- Length: 408 pages
- Edition: 1
- Language: English
- Publisher: Wrox
- Publication Date: 2012-10-23
- ISBN-10: 1118185463
- ISBN-13: 9781118185469
- Sales Rank: #1083255 (See Top 100 Books)
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
Part I: Introduction and Setup
Chapter 1: Installing Node
Chapter 2: Introducing Node
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
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
Chapter 17: Testing Modules and Applications
Chapter 18: Debugging Modules and Applications
Chapter 19: Controlling the Callback Flow
Part V: Building Web Applications
Chapter 20: Building and Using HTTP Middleware
Chapter 21: Making a Web Application Using Express.js
Chapter 22: Making Universal Real-Time Web Applications Using Socket.IO
Part VI: Connecting to Databases
Chapter 23: Connecting to MySQL Using node-mysql
Chapter 24: Connecting to CouchDB Using Nano
Chapter 25: Connecting to MongoDB Using Mongoose