Node js Recipes 1st Edition by Cory Gackenheimer – Ebook PDF Instant Download/Delivery:9781430260585, 1430260599
Full download Node js Recipes 1st Edition after payment
Product details:
• ISBN 10:1430260599
• ISBN 13:9781430260585
• Author:Cory Gackenheimer
Node.js Recipes
A Problem-Solution Approach
Node.js Recipes is your one-stop reference for solving Node.js problems. Filled with useful recipes that follow a problem/solution format, you can look up recipes for many situations that you may come across in your day-to-day server-side development. Node.js is accessible to those who not only relish in server-side programming but also web developers who understand the ubiquitous language of the web. Node.js Recipes covers all the essential ingredients required to become a seasoned Node.js developer in no time – make it your indispensable reference today.
Node js Recipes 1st Table of contents:
Chapter 1: Understanding Node.js
1-1. Installing Node.js on Your Machine
Windows
OS X
Ubuntu and Linux Mint
Fedora
Arch Linux
FreeBSD and OpenBSD
openSUSE
Windows
OS X
1-2. Installing the npm Package Manager
1-3. Understanding CommonJS Modules
Module Context
Module Identifiers
1-4. Writing Modules for Your Application
1-5. Requiring Modules in Your Application
1-6. Using npm Modules
1-7. Getting Started with npm and Dependency
name
version
description
keywords
homepage
bugs
license
author, contributors
files
main
bin
repository
config
dependencies
devDependencies
bundledDependencies
optionalDependencies
Engines
OS and CPU
preferGlobal
1-8. Installing a Node.js Version Manager
1-9. Using Multiple Versions of Node.js on Your Machine
nvm
nave
n
Summary
Chapter 2: Networking with Node.js
2-1. Setting Up a Server
Problem
Solution
How It Works
2-2. Creating Connections to Your Server
Problem
Solution
How It Works
2-3. Configuring Server Defaults
Problem
Solution
How It Works
2-4. Creating a Client
Problem
Solution
How It Works
2-5. Using Sockets to Communicate Between Servers
Problem
Solution
How It Works
2-6. Retrieving Details About Connected Servers
Problem
Solution
How It Works
Chapter 3: Using the File System
3-1. Retrieving Directory Structures
Problem
Solution
How It Works
3-2. Navigating Through Directories
Problem
Solution
How It Works
3-3. Manipulating the Directory Structure
Problem
Solution
How It Works
3-4. Watching a Directory for Modifications
Problem
Solution
How It Works
3-5. Reading Files
Problem
Solution
How It Works
3-6. Writing Files
Problem
Solution
How It Works
3-7. Moving Files
Problem
Solution
How It Works
3-8. Symbolically Linking Files
Problem
Solution
How It Works
3-9. Altering File Permissions
Problem
Solution
How It Works
3-10. Watching Files for Modifications
Problem
Solution
How It Works
Chapter 4: Building a Web Server
4-1. Setting Up an HTTP Server
Problem
Solution
How It Works
4-2. Using SSL to Build an HTTPS Server
Problem
Solution
How It Works
4-3. Processing Requests on Your Server
Problem
Solution
How It Works
4-4. Sending Responses from Your Server
Problem
Solution
How It Works
4-5. Handling Headers and Status Codes
Problem
Solution
How It Works
4-6. Creating an HTTP Client
Problem
Solution
How It Works
4-7. Processing Client Responses
Problem
Solution
How It Works
4-8. Processing Client Requests
Problem
Solution
How It Works
4-9. Responding to Events
Problem
Solution
How It Works
4-10. Serving a Static Page via the File System
Problem
Solution
How It Works
Chapter 5: Using Events and Child Processes
5-1. Creating a Custom Event
Problem
Solution
How It Works
5-2. Adding a Listener for Custom Events
Problem
Solution
How It Works
5-3. Implementing a One-time Event
Problem
Solution
How It Works
5-4. Reducing Callbacks Using Events
Problem
Solution
How It Works
5-5. Spawning a Child with .spawn
Problem
Solution
How It Works
5-6. Running Shell Commands with .exec
Problem
Solution
How It Works
5-7. Executing Shell Files with .execFile
Problem
Solution
How It Works
5-8. Using .fork for Interprocess Communication
Problem
Solution
How It Works
Summary
Chapter 6: Implementing Security and Cryptography
6-1. Analyzing Types of Hash Algorithms
Problem
Solution
How It Works
DSA
MD4
MD5
RIPEMD
SHA
WHIRLPOOL
6-2. Hashing Data with createHash
Problem
Solution
How It Works
6-3. Verifying File Integrity with Hashes
Problem
Solution
How It Works
6-4. Using an HMAC to Verify and Authenticate Messages
Problem
Solution
How It Works
6-5. Reviewing OpenSSL Ciphers and Security
Problem
Solution
How It Works
DES
RC2
RC4
CAST
CAMELLIA
BLOWFISH
AES
6-6. Using OpenSSL Ciphers to Encrypt Data
Problem
Solution
How It Works
6-7. Using Node.js’s TLS Module for Securing Your Server
Problem
Solution
How It Works
6-8. Encrypting User Credentials with the Crypto Module
Problem
Solution
How It Works
6-9. Using a Third-Party Authentication Module
Problem
Solution
How It Works
Summary
Chapter 7: Discovering Other Node.js Modules
7-1. Creating a Simple DNS Server with DNS
Problem
Solution
How It Works
7-2. Handling Streams with the Buffer
Problem
Solution
How It Works
7-3. Clustering with Node.js
Problem
Solution
How It Works
7-4. Working with Query Strings
Problem
Solution
How It Works
7-5. Processing Events with ‘Process’
Problem
Solution
How It Works
7-6. Using Timers
Problem
Solution
How It Works
7-7. Using the V8 Debugger
Problem
Solution
How It Works
7-8. Parsing URLs
Problem
Solution
How It Works
7-9. Using the Console
Problem
Solution
How It Works
Chapter 8: Creating a WebSocket Server
8-1. Implementing a WebSocket Server with WebSocket-Node
Problem
Solution
How It Works
8-2. Listening for WebSocket Events on the Client
Problem
Solution
How It Works
8-3. Building a WebSocket API
Problem
Solution
How It Works
8-4. Using Socket.IO for WebSocket Communications
Problem
Solution
How It Works
8-5. Handling WebSocket Events in a Browser
Problem
Solution
How It Works
8-6. Communicating Server Events via WebSockets
Problem
Solution
How It Works
8-7. Two-way Communications with WebSockets
Problem
Solution
How It Works
8-8. Building a Multiuser Whiteboard with WebSockets
Problem
Solution
How It Works
Chapter 9: Using Web Server Frameworks
9-1. Getting Started with Express
Problem
Solution
How It Works
9-2. Using Express to Generate an Application
Problem
Solution
How It Works
9-3. Rendering HTML with Jade
Problem
Solution
How It Works
9-4. Routing with Express
Problem
Solution
How It Works
9-5. Handling Failed Requests in Your Application
Problem
Solution
How It Works
9-6. Designing a RESTful API with ExpressJS
Problem
Solution
How It Works
9-7. Up and Running with Geddy
Problem
Solution
How It Works
9-8. Using Yahoo! Mojito
Problem
Solution
How It Works
9-9. Building a Flatiron Application
Problem
Solution
How It Works
Chapter 10: Connecting to a Data Store
10-1. Connecting to MySQL
Problem
Solution
How It Works
10-2. Connecting to Microsoft SQL Server
Problem
Solution
How It Works
10-3. Using PostgreSQL with Node.js
Problem
Solution
How It Works
10-4. Using Mongoose to Connect to MongoDB
Problem
Solution
How It Works
10-5. Modeling Data for Mongoose
Problem
Solution
How It Works
10-6. Connecting to CouchDB
Problem
Solution
How It Works
10-7. Using Redis
Problem
Solution
How It Works
10-8. Connecting to Cassandra
Problem
Solution
How It Works
10-9. Using Riak with Node.js
Problem
Solution
How It Works
Chapter 11: Testing in Node.js
11-1. Choosing a Framework for Test-Driven Development or Behavior-Driven Development
11-2. Creating Tests with the Node.js assert Module
Problem
Solution
How It Works
11-3. Creating Tests with Nodeunit
Problem
Solution
How It Works
11-4. Creating Tests with Mocha
Problem
Solution
How It Works
11-5. Creating Tests with Chai.js
Problem
Solution
How It Works
11-6. Creating Tests with Vows
Problem
Solution
How It Works
11-7. Creating Tests with Should.js
Problem
Solution
How It Works
11-8. Reporting Code Coverage with Node-cover
Problem
Solution
How It Works
11-9. Reporting Code Coverage with istanbul
Problem
Solution
How It Works
11-10. Building a Full Test Suite
Problem
Solution
How It Works
11-11. Implementing Testing into Your Workflow
Problem
Solution
How It Works
11-12. Automating Your Testing
Problem
Solution
How It Works
Chapter 12: Debugging and Deploying Your Application
12-1. Logging Information to the Console
Problem
Solution
How It Works
12-2. Using a Graphical Debugging Tool
Problem
Solution
How It Works
12-3. Debugging Your Application in a Production Environment
Problem
Solution
How It Works
12-4. Continuously Running Your Server with Forever
Problem
Solution
How It Works
12-5. Deploying Your Application on Your Own Server
Problem
Solution
How It Works
12-6. Publishing Your Code to npm
Problem
Solution
How It Works
12-7. Using Amazon Web Services to Host Your Application
Problem
Solution
How It Works
12-8. Deploying Your Application Using Heroku
Problem
Solution
How It Works
12-9. Deploying Your Application to Nodejitsu
Problem
Solution
How It Works
12-10. Deploying to Windows Azure
Problem
Solution
How It Works
Index
People also search for Node js Recipes 1st:
node js recipes 1st edition cory gackenheimer
node js cookbook
cory gackenheimer
joyce chen recipes
joyce chen cookbook pdf
Tags:
Node js,Node js Recipes,Cory Gackenheimer