Index

A note on the digital index

A link in an index entry is displayed as the section title in which that entry appears. Because some sections have multiple index markers, it is not unusual for an entry to have several links to the same section. Clicking on any link will take you directly to the place in the text in which the marker appears.

A

A record, Domain Resolution and URL Processing
acceptance testing, Acceptance TestingEmulating a Browser with Tobi and Zombie
with Soda module, Selenium Testing with SodaSelenium Testing with Soda
with Tobi module, Emulating a Browser with Tobi and ZombieEmulating a Browser with Tobi and Zombie
with Zombie module, Emulating a Browser with Tobi and ZombieEmulating a Browser with Tobi and Zombie
addCallback method, Promises, No Promises, Callback Instead
addErrback method, Promises, No Promises, Callback Instead
addListener method, Events and EventEmitter
Advanced Packaging Tool (APT), Installing Node on Linux (Ubuntu)
allowHalfOpen parameter, TCP Sockets and Servers, TCP Sockets and Servers
Amazon EC2 (Elastic Compute Cloud), Amazon EC2Amazon EC2
Apache web server, Node.js: Up and Running
ApacheBench module, Benchmark Testing with ApacheBenchBenchmark Testing with ApacheBench
app.js file, Partnering Node with WebMatrix on Windows 7, The app.js File in More DetailThe app.js File in More Detail
Apricot tool, Finding Modules
APT (Advanced Packaging Tool), Installing Node on Linux (Ubuntu)
arrow keys in REPL, Multiline and More Complex JavaScript
Assert module, Unit Testing with AssertUnit Testing with Assert
Async module, Finding Modules, AsyncAsync
asynchronous functionality, Asynchronous Functions and the Node Event LoopTaking a Closer Look at Asynchronous Program Flow
and MongoDB, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove
and program flow, Taking a Closer Look at Asynchronous Program FlowTaking a Closer Look at Asynchronous Program Flow
and WebSockets, WebSockets in an Asynchronous WorldWebSockets in an Asynchronous World
asynchronous I/O, Why Node?
benefits of, Benefits of Node
defined, Hello, World from the Top
patterns for, Asynchronous Patterns and Control Flow ModulesAsync
reading files, Reading a File AsynchronouslyReading a File Asynchronously
attacks, Protecting Applications and Preventing AttacksScrub Your Data and Sanitize It with node-validator
avoiding eval function, Don’t Use evalDon’t Use eval
avoiding open text fields, Do Use Checkboxes, Radio Buttons, and Drop-Down SelectionsDo Use Checkboxes, Radio Buttons, and Drop-Down Selections
sanitizing data, Scrub Your Data and Sanitize It with node-validatorScrub Your Data and Sanitize It with node-validator
audience for this book, This Book’s Intended AudienceThis Book’s Intended Audience
authentication
defined, Authentication/Authorization with Passport
with Passport module, Authentication/Authorization with PassportThe Twitter Passport Strategy (OAuth)
locally stored, The Local Passport StrategyThe Local Passport Strategy
using OAuth, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password VerificationAuthorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification, The Twitter Passport Strategy (OAuth)The Twitter Passport Strategy (OAuth)
using OpenID, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password VerificationAuthorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification
authorization
defined, Authentication/Authorization with Passport
with Passport module, Authentication/Authorization with PassportThe Twitter Passport Strategy (OAuth)
locally stored, The Local Passport StrategyThe Local Passport Strategy
using OAuth, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password VerificationAuthorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification, The Twitter Passport Strategy (OAuth)The Twitter Passport Strategy (OAuth)
using OpenID, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password VerificationAuthorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification
autocomplete text in REPL, Multiline and More Complex JavaScript
auto_reconnect option, Getting Started with MongoDB

C

c-ares library, Domain Resolution and URL Processing
cache object, Loading a Module with require and Default Paths, Loading a Module with require and Default Paths
Cairo library, Creating and Streaming Canvas Content
Calipso framework, Testing the Express Application with cURL
callback functions, Hello, World from the Top
naming, Sequential Functionality, Nested Callbacks, and Exception Handling
vs. promises, Promises, No Promises, Callback InsteadPromises, No Promises, Callback Instead
callback spaghetti, Sequential Functionality, Nested Callbacks, and Exception Handling
camel case, Node Style
canvas element, Creating and Streaming Canvas ContentCreating and Streaming Canvas Content
Cascading Style Sheets (CSS) engines, Express, Template Systems, and CSS
Cassandra key/value store, Structured Data with Node and Redis
certificate-signing request (CSR), Setting Up TSL/SSL
chain getter, Selenium Testing with Soda
chained methods, Updating the Database with Chained MethodsUpdating the Database with Chained Methods
chainer helper, Adding Several Objects Easily
changing colors in log, Colors: Simple Is Best
check method, Scrub Your Data and Sanitize It with node-validator, Scrub Your Data and Sanitize It with node-validator, Scrub Your Data and Sanitize It with node-validator
child processes, Child ProcessesRunning a Child Process Application in Windows
exec method, child_process.exec and child_process.execFilechild_process.exec and child_process.execFile
execFile method, child_process.exec and child_process.execFilechild_process.exec and child_process.execFile
fork method, child_process.forkchild_process.fork
running in Windows, Running a Child Process Application in WindowsRunning a Child Process Application in Windows
spawn method, child_process.spawnchild_process.spawn
using ImageMagick from, Accessing ImageMagick from a Child ProcessAccessing ImageMagick from a Child Process
chunked transfer encoding, HTTP
cipher method, Safely Storing Passwords
.clear command, REPL Commands, Custom REPL
clearBreakpoint command, The Node.js Debugger
clearInterval function, The Timers: setTimeout, clearTimeout, setInterval, and clearInterval
clearTimeout function, The Timers: setTimeout, clearTimeout, setInterval, and clearInterval
client side requirements for WebSockets, About That Client CodeAbout That Client Code
client-side debugging, Client-Side Debugging with Node InspectorClient-Side Debugging with Node Inspector
close event, TCP Sockets and Servers, TCP Sockets and Servers, child_process.spawn, child_process.spawn
close method, UDP/Datagram Socket, Learning the Basic Syntax
cloud services, deploying to, Deployment to a Cloud ServiceNodejitsu
Amazon EC2 (Elastic Compute Cloud), Amazon EC2Amazon EC2
Heroku, HerokuHeroku
Joyent SmartMachines, Joyent Development SmartMachinesJoyent Development SmartMachines
Nodejitsu, NodejitsuNodejitsu
Windows Azure, Deploying to Windows Azure via Cloud9 IDEDeploying to Windows Azure via Cloud9 IDE
Cloud9 IDE deployment options, The Local Passport Strategy
clustering, The Local Passport Strategy
cmd.exe, Running a Child Process Application in Windows, Running a Child Process Application in Windows, Running a Child Process Application in Windows, Running a Child Process Application in Windows
CMS (content management system), Proxies, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification
Coffee-script module, Finding Modules
CoffeeScript, Not Your Ordinary JavaScript, Refreshing Code with Nodemon
collections in MongoDB, Defining, Creating, and Dropping a MongoDB CollectionAdding Data to a Collection
Colors module, Colors: Simple Is BestColors: Simple Is Best
colors, changing in log, Colors: Simple Is Best
command-line prompt for REPL, REPL: First Looks and Undefined Expressions
Commander, Finding Modules
commands for REPL (read-eval-print loop), REPL CommandsREPL Commands
commit author, Node, Git, and GitHub
commit command, Node, Git, and GitHub
commit method, MySQL Transactions with mysql-queues
CommonJS module system, The Node Module System, Preparing Your Module for Publication
compile method, Using EJS with Node, Using EJS with Node, Building a Game Leaderboard
Concurrent Versioning System (CVS), Node, Git, and GitHub
config command, External Modules and the Node Package Manager
configure method, The app.js File in More Detail, The app.js File in More Detail, The app.js File in More Detail, The app.js File in More Detail, The app.js File in More Detail, The app.js File in More Detail, The app.js File in More Detail, The app.js File in More Detail, The app.js File in More Detail, Routing Path, Routing Path, Routing and HTTP Verbs, Processing a New Object Post, Using block and extends to Modularize the View Templates, Incorporating Stylus for Simplified CSS, Configuring Socket.IO
Connect framework
and Express, A Closer Look at the Express/Connect PartnershipA Closer Look at the Express/Connect Partnership
cookieSession middleware module, connect.parseCookie and connect.cookieSessionconnect.parseCookie and connect.cookieSession
creating custom middleware, Custom Connect MiddlewareCustom Connect Middleware
lack of errorHandler function for, Custom Connect Middleware
logger middleware module, connect.loggerconnect.logger
next callback function for, Custom Connect Middleware, Custom Connect Middleware, Custom Connect Middleware
overview, Connect BasicsConnect Basics
parseCookie middleware module, connect.parseCookie and connect.cookieSessionconnect.parseCookie and connect.cookieSession
req parameter for, Custom Connect Middleware
res parameter for, Custom Connect Middleware
static middleware module, connect.staticconnect.static
connect method, Getting Started with db-mysql
Connect module, Finding Modules
connectionListener callback, Buffer
console object, Hello, World from the Top
constructor argument, The Utilities Module and Object Inheritance
content management system (CMS), Proxies, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification
Content-Length response header, Hello, World from the Top, Properly Serving HTML5 Video with HTTP
Content-Range response header, Properly Serving HTML5 Video with HTTP, Properly Serving HTML5 Video with HTTP
content-type, Hello, World from the Top
context, global
control flow modules
Async module, AsyncAsync
Step module, StepStep
convert tool (ImageMagick), Accessing ImageMagick from a Child ProcessAccessing ImageMagick from a Child Process
cookieParser middleware module, connect.parseCookie and connect.cookieSession, connect.parseCookie and connect.cookieSession, A Closer Look at the Express/Connect Partnership
cookieSession middleware module, connect.parseCookie and connect.cookieSessionconnect.parseCookie and connect.cookieSession, A Closer Look at the Express/Connect Partnership
core
Buffer class, BufferBuffer
child processes, Child ProcessesRunning a Child Process Application in Windows
exec method, child_process.exec and child_process.execFilechild_process.exec and child_process.execFile
execFile method, child_process.exec and child_process.execFilechild_process.exec and child_process.execFile
fork method, child_process.forkchild_process.fork
running in Windows, Running a Child Process Application in WindowsRunning a Child Process Application in Windows
spawn method, child_process.spawnchild_process.spawn
DNS module, Domain Resolution and URL ProcessingDomain Resolution and URL Processing
EventEmitter object, Events and EventEmitterEvents and EventEmitter
global namespace object, globalglobal
HTTP module, HTTPHTTP
Net module, TCP Sockets and ServersTCP Sockets and Servers
process object, processprocess
stream interface, Streams, Pipes, and ReadlineStreams, Pipes, and Readline
timer functions, The Timers: setTimeout, clearTimeout, setInterval, and clearIntervalThe Timers: setTimeout, clearTimeout, setInterval, and clearInterval
UDP module, UDP/Datagram SocketUDP/Datagram Socket
Utilities module, The Utilities Module and Object InheritanceThe Utilities Module and Object Inheritance
CoreJS framework, The Express Framework
CouchDB, Node and MongoDB: Document-Centric Data
crashes, application, Safely Storing Passwords
create, read, update and delete (CRUD) (see CRUD (create, read, update and delete))
createClient method, Getting Started with Node and Redis
createHash method, Safely Storing Passwords
createReadStream method, Events and EventEmitter, Building a Simple Static File Server from Scratch, Properly Serving HTML5 Video with HTTP, Properly Serving HTML5 Video with HTTP
createServer method, Hello, World from the Top, Hello, World from the Top, Hello, World from the Top, Buffer, HTTP, Connect Basics, Connect Basics, Working with HTTPS
createSocket method, UDP/Datagram Socket
createWriteStream method, Events and EventEmitter, Events and EventEmitter
Crossroads method, Routers
CRUD (create, read, update and delete)
with node-mysql module, Basic CRUD with node-mysqlBasic CRUD with node-mysql
with Sequelize module, Using CRUD, ORM StyleUsing CRUD, ORM Style
Crypto module, Safely Storing PasswordsSafely Storing Passwords
CSR (certificate-signing request), Setting Up TSL/SSL
CSS (Cascading Style Sheets) engines, Express, Template Systems, and CSS
cURL command, Testing the Express Application with cURLTesting the Express Application with cURL
custom middleware, Custom Connect MiddlewareCustom Connect Middleware
custom modules, Creating Your Own Custom ModulePublishing the Module
package.json file for, Preparing Your Module for PublicationPreparing Your Module for Publication
packaging directory for, Packaging an Entire DirectoryPackaging an Entire Directory
publishing, Publishing the ModulePublishing the Module
custom REPL (read-eval-print loop), Custom REPLCustom REPL, Custom REPL
CVS (Concurrent Versioning System), Node, Git, and GitHub
Cygwin, REPL and rlwrap

D

-d flag, External Modules and the Node Package Manager, Connect Basics
Dahl, Ryan, Promises, No Promises, Callback Instead
data event, TCP Sockets and Servers, child_process.spawn
data type mapping
for MongoDB, Adding Data to a Collection
for Sequelize module, Defining a ModelDefining a Model
db-mysql module, Getting Started with db-mysqlUpdating the Database with Chained Methods
chained methods, Updating the Database with Chained MethodsUpdating the Database with Chained Methods
direct queries, Updating the Database with Direct QueriesUpdating the Database with Direct Queries
overview, Using Query String or Chained MethodsUsing Query String or Chained Methods
--debug flag, The Node.js Debugger
debugging, DebuggingClient-Side Debugging with Node Inspector
built-in, The Node.js DebuggerThe Node.js Debugger
client-side, Client-Side Debugging with Node InspectorClient-Side Debugging with Node Inspector
decipher method, Safely Storing Passwords
deepEqual method, Unit Testing with Assert, Unit Testing with Assert
deferred, defined, Promises, No Promises, Callback Instead
delays, Promises, No Promises, Callback Instead
delete method, Updating the Database with Chained Methods, Updating the Database with Chained Methods, Updating the Database with Chained Methods, Updating the Database with Chained Methods
DELETE verb, Routing, Routing and HTTP Verbs, Routing and HTTP Verbs, Routing and HTTP Verbs, Routing and HTTP Verbs, Showing an Individual Object and Confirming an Object Deletion
dependencies for modules, listing, External Modules and the Node Package Manager
deploying applications
to cloud service, Deployment to a Cloud ServiceNodejitsu
Amazon EC2 (Elastic Compute Cloud), Amazon EC2Amazon EC2
Heroku, HerokuHeroku
Joyent SmartMachines, Joyent Development SmartMachinesJoyent Development SmartMachines
Nodejitsu, NodejitsuNodejitsu
Windows Azure, Deploying to Windows Azure via Cloud9 IDEDeploying to Windows Azure via Cloud9 IDE
to server, Deploying Your Node Application to Your ServerImproving Performance
alongside another web server, Using Node and Apache TogetherUsing Node and Apache Together
improving performance of, Improving PerformanceImproving Performance
package.json file, Writing That package.json FileWriting That package.json File
using Forever module, Keeping Your Application Alive with ForeverKeeping Your Application Alive with Forever
deserializeUser method, The Local Passport Strategy, The Local Passport Strategy
dev format, connect.logger
development environment, Setting Up a Node Development EnvironmentUpdating Node
installing
on Linux (Ubuntu), Installing Node on Linux (Ubuntu)Installing Node on Linux (Ubuntu)
on Windows 7, Partnering Node with WebMatrix on Windows 7Partnering Node with WebMatrix on Windows 7
updating, Updating NodeUpdating Node
direct queries, Updating the Database with Direct QueriesUpdating the Database with Direct Queries
directories field, Publishing the Module
directory middleware module, A Closer Look at the Express/Connect Partnership, A Closer Look at the Express/Connect Partnership, A Closer Look at the Express/Connect Partnership, Cue the MVC, Cue the MVC, Creating a PDF uploader and dealing with graphics lag time
disconnect method, Getting Started with db-mysql
DNS module, Domain Resolution and URL ProcessingDomain Resolution and URL Processing
done method, Unit Testing with NodeunitJasmine
double quotes, Node Style
downcase filter, Using the EJS for Node Filters
Drizzle, Using Query String or Chained Methods
Drupal, Refactoring the Widget Factory
dumpExceptions flag, Error Handling

E

each event, Using Query String or Chained Methods
each...in statement, Adding a Stats Middleware to an Express Application
echo event, Events and EventEmitter
ECMAScript, Why Node?
EJS (embedded JavaScript) template system, Express, Template Systems, and CSS, The Embedded JavaScript (EJS) Template SystemProviding an Update Form and Processing a PUT Request
filters for, Using the EJS for Node FiltersUsing the EJS for Node Filters
for Node, Using EJS with NodeUsing EJS with Node
syntax for, Learning the Basic SyntaxLearning the Basic Syntax
using with Express, Using a Template System (EJS) with ExpressProviding an Update Form and Processing a PUT Request
displaying individual object, Showing an Individual Object and Confirming an Object DeletionShowing an Individual Object and Confirming an Object Deletion
generating picklist, Working with the Widgets Index and Generating a PicklistWorking with the Widgets Index and Generating a Picklist
multiple object environment for, Restructuring for a Multiple Object EnvironmentRestructuring for a Multiple Object Environment
processing object post, Processing a New Object PostProcessing a New Object Post
processing PUT request, Providing an Update Form and Processing a PUT RequestProviding an Update Form and Processing a PUT Request
routing to static files, Routing to Static FilesRouting to Static Files
Emailjs module, Creating a PDF uploader and dealing with graphics lag time
embedded Ruby (ERB), The Embedded JavaScript (EJS) Template System
Ember.js framework, The Express Framework
emit method, Events and EventEmitter, Events and EventEmitter, Chat: The WebSockets “Hello, World”, Chat: The WebSockets “Hello, World”, Chat: The WebSockets “Hello, World”
encoding parameter, Buffer
encodings for strings, Buffer
encrypting data, Encrypting DataSafely Storing Passwords
storing passwords, Safely Storing PasswordsSafely Storing Passwords
with HTTPS, Working with HTTPSWorking with HTTPS
with TLS/SSL, Setting Up TSL/SSLSetting Up TSL/SSL
enctype field, Creating a PDF uploader and dealing with graphics lag time
end method, Hello, World from the Top, TCP Sockets and Servers, Building a Simple Static File Server from Scratch, RoutingRouting Path, Getting Started with Node and Redis, Getting Started with Node and Redis
equal method, Unit Testing with AssertUnit Testing with Assert
ERB (embedded Ruby), The Embedded JavaScript (EJS) Template System
error event, Building a Simple Static File Server from Scratch, Building a Simple Static File Server from Scratch, Using Query String or Chained Methods, Using Query String or Chained Methods, Using Query String or Chained Methods, Creating a PDF uploader and dealing with graphics lag time, Accessing ImageMagick from a Child Process
error handling in Express framework, Error HandlingError Handling
Error object, Promises, No Promises, Callback Instead, Promises, No Promises, Callback Instead, Promises, No Promises, Callback Instead
error parameter, child_process.exec and child_process.execFile, Error Handling
errorHandler function, Custom Connect Middleware, Error Handling, Error Handling
escape method, Using Query String or Chained Methods
eval function, Protecting Applications and Preventing Attacks
avoiding, Don’t Use evalDon’t Use eval
for custom REPL, Custom REPL
event loop, Node.js: Up and Running, Asynchronous Functions and the Node Event LoopTaking a Closer Look at Asynchronous Program Flow
event-driven I/O (input/output), Node.js: Up and Running
EventEmitter event, Getting Started with db-mysql
EventEmitter object, TCP Sockets and Servers, Streams, Pipes, and Readline, Events and EventEmitterEvents and EventEmitter
exception handling, Sequential Functionality, Nested Callbacks, and Exception HandlingSequential Functionality, Nested Callbacks, and Exception Handling
exec method, child_process.exec and child_process.execFilechild_process.exec and child_process.execFile, Adding a Stats Middleware to an Express Application, Adding a Stats Middleware to an Express Application, Adding a Stats Middleware to an Express Application, Adding a Stats Middleware to an Express Application
execFile method, child_process.exec and child_process.execFilechild_process.exec and child_process.execFile
execPath method, process
execute method, MySQL Transactions with mysql-queues
exists method, Building a Simple Static File Server from Scratch, Building a Simple Static File Server from Scratch, Building a Simple Static File Server from Scratch
exit event, child_process.spawn, child_process.spawn, Creating a PDF uploader and dealing with graphics lag time, Accessing ImageMagick from a Child Process
--exitcrash option, Keeping Your Application Alive with Forever
expect method, Unit Testing with Nodeunit, Unit Testing with Nodeunit
exports statement, Creating Your Own Custom Module, Creating Your Own Custom Module, Packaging an Entire Directory
Express framework
and Connect, A Closer Look at the Express/Connect PartnershipA Closer Look at the Express/Connect Partnership
app.js file, The app.js File in More DetailThe app.js File in More Detail
error handling in, Error HandlingError Handling
installing, Express: Up and RunningExpress: Up and Running
module for, Finding Modules
MVC structure with, Cue the MVCCue the MVC
routing, RoutingRouting and HTTP Verbs
and HTTP verbs, Routing and HTTP VerbsRouting and HTTP Verbs
path, Routing PathRouting Path
testing with cURL, Testing the Express Application with cURLTesting the Express Application with cURL
using EJS template system with, Using a Template System (EJS) with ExpressProviding an Update Form and Processing a PUT Request
displaying individual object, Showing an Individual Object and Confirming an Object DeletionShowing an Individual Object and Confirming an Object Deletion
generating picklist, Working with the Widgets Index and Generating a PicklistWorking with the Widgets Index and Generating a Picklist
multiple object environment for, Restructuring for a Multiple Object EnvironmentRestructuring for a Multiple Object Environment
processing object post, Processing a New Object PostProcessing a New Object Post
processing PUT request, Providing an Update Form and Processing a PUT RequestProviding an Update Form and Processing a PUT Request
routing to static files, Routing to Static FilesRouting to Static Files
using Socket.IO with, Using Socket.IO with ExpressUsing Socket.IO with Express
extends keyword, Using block and extends to Modularize the View Templates
external modules, External Modules and the Node Package ManagerExternal Modules and the Node Package Manager

F

fail method, Unit Testing with Assert
favicon middleware module, Connect Basics, Connect Basics, Custom Connect Middleware, Custom Connect Middleware, Custom Connect Middleware, Custom Connect Middleware, The app.js File in More Detail, The app.js File in More Detail
Fedora system, Hello, World in Node
FFmpeg, Graphics and HTML5 Video
fibers, Asynchronous Patterns and Control Flow Modules
file servers, Building a Simple Static File Server from ScratchBuilding a Simple Static File Server from Scratch
File System module, Reading a File Asynchronously, Events and EventEmitter
files, reading asynchronously, Reading a File AsynchronouslyReading a File Asynchronously
filter function, Async
filters for EJS template system, Using the EJS for Node FiltersUsing the EJS for Node Filters
FIN (finish packet), Servers, Streams, and Sockets
find command, child_process.spawn
find method, Querying the Data, Querying the Data, Querying the Data
find options for MongoDB, Querying the DataQuerying the Data
findAndModify method, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove
findAndRemove method, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove
finding modules, Finding ModulesFinding Modules
findOne method, Querying the Data, Querying the Data, Querying the Data, Querying the Data, Querying the Data
finish packet (FIN), Servers, Streams, and Sockets
first filter, Using the EJS for Node Filters
flash method, The Local Passport Strategy, The Local Passport Strategy, The Local Passport Strategy
Flatiron framework, The Express Framework
for loop, Step
for...in statement, Adding a Stats Middleware to an Express Application
forEach method, Sequential Functionality, Nested Callbacks, and Exception Handling, Sequential Functionality, Nested Callbacks, and Exception Handling, Sequential Functionality, Nested Callbacks, and Exception Handling, Sequential Functionality, Nested Callbacks, and Exception Handling, Step, Async, Async
Forever iFrame, About That Client Code
Forever module, Keeping Your Application Alive with ForeverKeeping Your Application Alive with Forever
--exitcrash option for, Keeping Your Application Alive with Forever
options for, Safely Storing PasswordsSafely Storing Passwords
-s option for, Keeping Your Application Alive with Forever
-v option for, Keeping Your Application Alive with Forever
fork method, child_process.forkchild_process.fork, child_process.fork, child_process.fork, child_process.fork
fork, defined, Node, Git, and GitHub
format method, Domain Resolution and URL Processing
forward proxy, Proxies
frameworks, defined, The Express Framework
fs (File System) module, Reading a File Asynchronously
future, defined, Promises, No Promises, Callback Instead

I

IDE (integrated development environment), Deploying to Windows Azure via Cloud9 IDE
iisnode, Partnering Node with WebMatrix on Windows 7
ImageMagick, Accessing ImageMagick from a Child ProcessAccessing ImageMagick from a Child Process
img element, Building a Simple Static File Server from Scratch, Creating and Streaming Canvas Content
immediate flag, connect.logger
include directive, Using block and extends to Modularize the View Templates, Building a Game Leaderboard, Building a Game Leaderboard
incr method, Adding a Stats Middleware to an Express Application
indenting code, Node Style
index function, Routing, Routing
index.js file, Using a Template System (EJS) with Express
inherits method, The Utilities Module and Object InheritanceThe Utilities Module and Object Inheritance, Events and EventEmitter, Events and EventEmitter, Events and EventEmitter, Preparing Your Module for Publication
injection attacks, Protecting Applications and Preventing AttacksDon’t Use eval
insert method, Adding Data to a Collection, Adding Data to a Collection, Updating the Database with Direct Queries, Updating the Database with Chained Methods, Updating the Database with Chained Methods, MySQL Transactions with mysql-queues
inspect method, The Utilities Module and Object Inheritance, The Utilities Module and Object Inheritance
install event, Writing That package.json File
installing
development environment
on Linux (Ubuntu), Installing Node on Linux (Ubuntu)Installing Node on Linux (Ubuntu)
on Mac, Node.js: Up and Running
on Windows 7, Partnering Node with WebMatrix on Windows 7Partnering Node with WebMatrix on Windows 7
Express framework, Express: Up and RunningExpress: Up and Running
libraries, Installing Node on Linux (Ubuntu)
Redis module, Getting Started with Node and RedisGetting Started with Node and Redis
integrated development environment (IDE), Deploying to Windows Azure via Cloud9 IDE
IPC (interprocess communication), HTTP
isAuthenticated method, The Local Passport Strategy
isEqual method, Unit Testing with Assert

K

keepGoing option, Adding Data to a Collection
keyboard shortcuts in REPL, Multiline and More Complex JavaScript

L

la option, External Modules and the Node Package Manager, External Modules and the Node Package Manager
last argument callbacks, Promises, No Promises, Callback Instead
.leave command, Streams, Pipes, and Readline
length parameter, Buffer
length property, Working with the Widgets Index and Generating a Picklist, Converting the main widgets display view
libraries
defined, The Express Framework
installing, Installing Node on Linux (Ubuntu)
requirements, Installing Node on Linux (Ubuntu)
libssl-dev, Installing Node on Linux (Ubuntu)
limit option, and findOne method, Querying the Data
Linux
installing development environment on, Installing Node on Linux (Ubuntu)Installing Node on Linux (Ubuntu)
making REPL executable, Custom REPL
list option, External Modules and the Node Package Manager
listen method, Hello, World in NodeHello, World from the Top, Reading a File Asynchronously, Reading a File Asynchronously
listening event, Hello, World from the Top, Reading a File Asynchronously
ll option, External Modules and the Node Package Manager, External Modules and the Node Package Manager
load
balancing using reverse proxy, Proxies
testing with Nodeload module, Load Testing with NodeloadLoad Testing with Nodeload
loading modules, Loading a Module with require and Default PathsLoading a Module with require and Default Paths
local installation of modules, External Modules and the Node Package Manager
log method, Multiline and More Complex JavaScript, Custom REPL, global, global, UDP/Datagram Socket, UDP/Datagram Socket, Sequential Functionality, Nested Callbacks, and Exception Handling
log, changing colors in, Colors: Simple Is Best
logger middleware module, connect.loggerconnect.logger, connect.parseCookie and connect.cookieSession, Custom Connect Middleware, The app.js File in More Detail, The app.js File in More Detail
lookup method, Domain Resolution and URL Processing
ls option, External Modules and the Node Package Manager

M

-m flag, Node, Git, and GitHub
Mac, installing on, Node.js: Up and Running
main property, Packaging an Entire Directory
map function, Async
maxLength option, A Closer Look at the Express/Connect Partnership
maxObjects option, A Closer Look at the Express/Connect Partnership
maxSockets property, HTTP
McMahon, Caolan, Async
Memcached key/value store, Structured Data with Node and Redis
memoization, Async
memoryUsage method, process
Mercurial repositories, The Local Passport Strategy
message event, UDP/Datagram Socket
message queue
defined, Creating a Message Queue
example using Redis, Creating a Message QueueCreating a Message Queue
methodOverride option, The app.js File in More Detail, The app.js File in More Detail, Routing and HTTP Verbs, Routing and HTTP Verbs
Microsoft Visual C++ 2010 Redistributable Package, Partnering Node with WebMatrix on Windows 7
Microsoft Web Platform Installer, Partnering Node with WebMatrix on Windows 7
middleware, MiddlewareCustom Connect Middleware
cookieSession middleware module, connect.parseCookie and connect.cookieSessionconnect.parseCookie and connect.cookieSession
creating custom middleware, Custom Connect MiddlewareCustom Connect Middleware
logger middleware module, connect.loggerconnect.logger
overview, Connect BasicsConnect Basics
parseCookie middleware module, connect.parseCookie and connect.cookieSessionconnect.parseCookie and connect.cookieSession
static middleware module, connect.staticconnect.static
Mime module, Finding Modules
MIME type, Building a Simple Static File Server from Scratch, Building a Simple Static File Server from Scratch
minimal static file server, Building a Simple Static File Server from ScratchBuilding a Simple Static File Server from Scratch
mixin function, Underscore, Underscore
Mocha framework, MochaMocha
Model-View-Controller (MVC) framework and Express (see MVC (Model-View-Controller) framework)
modules
Colors module, Colors: Simple Is BestColors: Simple Is Best
custom, Creating Your Own Custom ModulePublishing the Module
package.json file for, Preparing Your Module for PublicationPreparing Your Module for Publication
packaging directory, Packaging an Entire DirectoryPackaging an Entire Directory
publishing, Publishing the ModulePublishing the Module
defined, Hello, World from the Top
dependencies for, External Modules and the Node Package Manager
external, External Modules and the Node Package ManagerExternal Modules and the Node Package Manager
finding, Finding ModulesFinding Modules
global installation of, External Modules and the Node Package Manager
global namespace for, Multiline and More Complex JavaScript
loading with require statement, Loading a Module with require and Default PathsLoading a Module with require and Default Paths
local installation of, External Modules and the Node Package Manager
Optimist module, Optimist: Another Short and Simple ModuleOptimist: Another Short and Simple Module
Underscore module, UnderscoreUnderscore
MongoDB
and asynchronous functionality, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove
data type mapping for, Adding Data to a Collection
find options for, Querying the DataQuerying the Data
Mongoose with, Implementing a Widget Model with MongooseAdding the MongoDB Backend
adding database connection, Adding the MongoDB BackendAdding the MongoDB Backend
refactoring widget for, Refactoring the Widget FactoryRefactoring the Widget Factory
native driver for, The MongoDB Native Node.js DriverUsing Updates, Upserts, and Find and Remove
collections in, Defining, Creating, and Dropping a MongoDB CollectionAdding Data to a Collection
findAndModify method, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove
findAndRemove method, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove
overview, Getting Started with MongoDBGetting Started with MongoDB
querying data, Querying the DataQuerying the Data
remove method, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove
update method, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove
update modifiers for, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove
Mongoose, Implementing a Widget Model with MongooseAdding the MongoDB Backend
adding database connection, Adding the MongoDB BackendAdding the MongoDB Backend
refactoring widget for, Refactoring the Widget FactoryRefactoring the Widget Factory
multi method, Adding a Stats Middleware to an Express Application, Adding a Stats Middleware to an Express Application
multi parameter, Using Updates, Upserts, and Find and Remove
multiline code in REPL, Multiline and More Complex JavaScriptCustom REPL
multipart/form-data content type, Creating a PDF uploader and dealing with graphics lag time
multiple object environment, Restructuring for a Multiple Object EnvironmentRestructuring for a Multiple Object Environment
multiple requests, and string values, Taking a Closer Look at Asynchronous Program Flow
MVC (Model-View-Controller) framework and Express, How to Best Use This Book, Cue the MVCCue the MVC
MX record, Domain Resolution and URL Processing
MySQL databases
db-mysql module, Getting Started with db-mysqlUpdating the Database with Chained Methods
chained methods, Updating the Database with Chained MethodsUpdating the Database with Chained Methods
direct queries, Updating the Database with Direct QueriesUpdating the Database with Direct Queries
overview, Using Query String or Chained MethodsUsing Query String or Chained Methods
node-mysql module, Native JavaScript MySQL Access with node-mysqlMySQL Transactions with mysql-queues
CRUD with, Basic CRUD with node-mysqlBasic CRUD with node-mysql
transactions with, MySQL Transactions with mysql-queuesMySQL Transactions with mysql-queues
mysql-queues module, MySQL Transactions with mysql-queuesMySQL Transactions with mysql-queues
mysql-series module, The Node Relational Database Bindings

N

name property, Packaging an Entire Directory
naming callback functions, Sequential Functionality, Nested Callbacks, and Exception Handling
nested callbacks, Sequential Functionality, Nested Callbacks, and Exception HandlingSequential Functionality, Nested Callbacks, and Exception Handling, Sequential Functionality, Nested Callbacks, and Exception Handling, Defining, Creating, and Dropping a MongoDB Collection
Net module, TCP Sockets and ServersTCP Sockets and Servers
next callback function, Custom Connect MiddlewareCustom Connect Middleware
next command, The Node.js Debugger, The Node.js Debugger, The Node.js Debugger
next parameter, Error Handling
nextTick method, process, process, process, process, process, process, Asynchronous Patterns and Control Flow Modules
node command, Hello, World in Node
.node files for modules, Loading a Module with require and Default Paths
Node Inspector, Client-Side Debugging with Node InspectorClient-Side Debugging with Node Inspector
Node Package Manager (npm), How to Best Use This Book
Node Style, Node StyleNode Style
Node Version Manager (Nvm), Updating Node
node-mysql module, Native JavaScript MySQL Access with node-mysqlMySQL Transactions with mysql-queues
CRUD with, Basic CRUD with node-mysqlBasic CRUD with node-mysql
transactions with, MySQL Transactions with mysql-queuesMySQL Transactions with mysql-queues
node-validator module, Scrub Your Data and Sanitize It with node-validatorScrub Your Data and Sanitize It with node-validator
Nodejitsu, NodejitsuNodejitsu
Nodeload module
flags for, Load Testing with NodeloadLoad Testing with Nodeload
load testing with, Load Testing with NodeloadLoad Testing with Nodeload
Nodemon module, Refreshing Code with NodemonRefreshing Code with Nodemon
Nodeunit module, Unit Testing with NodeunitUnit Testing with Nodeunit
NODE_ENV variable, The app.js File in More Detail
node_modules folder, Loading a Module with require and Default Paths
normalize method, Routing to Static Files
NoSQL databases, Structured Data with Node and Redis, Node and MongoDB: Document-Centric Data
npm (Node Package Manager), How to Best Use This Book, External Modules and the Node Package Manager
.npmignore list, Publishing the Module
NS record, Domain Resolution and URL Processing
Nvm (Node Version Manager), Updating Node

O

OAuth, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password VerificationAuthorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification, The Twitter Passport Strategy (OAuth)The Twitter Passport Strategy (OAuth)
object-relational mapping (ORM), The Node Relational Database Bindings
ODM (object-document mapping), Implementing a Widget Model with Mongoose
offset parameter, Buffer
on method, TCP Sockets and Servers, TCP Sockets and Servers, TCP Sockets and Servers, Events and EventEmitter, Events and EventEmitter, Events and EventEmitter, Events and EventEmitter, Events and EventEmitter
onclick event handler, Control Flow, Asynchronous Patterns, and Exception Handling, Control Flow, Asynchronous Patterns, and Exception Handling
open event, Building a Simple Static File Server from Scratch, Building a Simple Static File Server from Scratch, Building a Simple Static File Server from Scratch
open method, Learning the Basic Syntax
open text fields, avoiding, Do Use Checkboxes, Radio Buttons, and Drop-Down SelectionsDo Use Checkboxes, Radio Buttons, and Drop-Down Selections
OpenFeint, Building a Game Leaderboard
OpenID, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password VerificationAuthorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification
OpenSSL, Setting Up TSL/SSL
Optimist module, Finding Modules, Optimist: Another Short and Simple ModuleOptimist: Another Short and Simple Module
ORM (object-relational mapping), The Node Relational Database Bindings
os module, Custom REPL
out command, The Node.js Debugger
output stream, Connect Basics
overhead of single thread process, Benefits of Node

P

package.json files
deploying to servers, Writing That package.json FileWriting That package.json File
for custom modules, Preparing Your Module for PublicationPreparing Your Module for Publication
generating, Preparing Your Module for Publication
required fields in, Preparing Your Module for Publication
packaging directory, Packaging an Entire DirectoryPackaging an Entire Directory
parallel method, Async, Async, Async, Async, Building a Game Leaderboard
parse method, Domain Resolution and URL Processing, Don’t Use eval, Don’t Use eval
parseBody method, Creating a PDF uploader and dealing with graphics lag time
parseCookie middleware module, connect.parseCookie and connect.cookieSessionconnect.parseCookie and connect.cookieSession
passphrase, Setting Up TSL/SSL
Passport module, Authentication/Authorization with PassportThe Twitter Passport Strategy (OAuth)
storing locally with, The Local Passport StrategyThe Local Passport Strategy
using OAuth with, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password VerificationAuthorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification, The Twitter Passport Strategy (OAuth)The Twitter Passport Strategy (OAuth)
using OpenID with, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password VerificationAuthorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification
passwords, encrypting, Safely Storing PasswordsSafely Storing Passwords
PATH environment variable, Installing Node on Linux (Ubuntu)
path routing in Express framework, Routing PathRouting Path
pattern attribute, Routing and HTTP Verbs
PDF files, Creating and Working with PDFsCreating PDFs with PDFKit
using PDF Toolkit
accessing data about file with, Accessing data about a PDF file with PDF ToolkitAccessing data about a PDF file with PDF Toolkit
creating files with, Creating PDFs with PDFKitCreating PDFs with PDFKit
creating page to upload files, Creating a PDF uploader and dealing with graphics lag timeCreating a PDF uploader and dealing with graphics lag time
wkhtmltopdf utility, Taking page snapshots with wkhtmltopdfTaking page snapshots with wkhtmltopdf
PEM (privacy-enhanced mail) format, Setting Up TSL/SSL
performance
benchmark testing with ApacheBench module, Benchmark Testing with ApacheBenchBenchmark Testing with ApacheBench
improving, Improving PerformanceImproving Performance
load testing with Nodeload module, Load Testing with NodeloadLoad Testing with Nodeload
picklist
defined, Working with the Widgets Index and Generating a Picklist
generating, Working with the Widgets Index and Generating a PicklistWorking with the Widgets Index and Generating a Picklist
pipe
defined, Streams, Pipes, and Readline
method, Building a Simple Static File Server from Scratch, Building a Simple Static File Server from Scratch
placeholders, Updating the Database with Direct Queries
platform method, process
Polaroid effect, Accessing ImageMagick from a Child Process
poolSize option, Getting Started with MongoDB
port parameter, Getting Started with Node and Redis
post method, Routing, Routing and HTTP Verbs
POST verb, Routing, Routing, Routing and HTTP Verbs
prefix configuration option, Installing Node on Linux (Ubuntu)
prefork MPM (prefork multiprocessing model), Asynchronous Functions and the Node Event Loop
preinstall event, Writing That package.json File
print method, Getting Started with Node and Redis, Getting Started with Node and Redis
privacy-enhanced mail (PEM) format, Setting Up TSL/SSL
private keys, Setting Up TSL/SSL
process method, process
process object, processprocess
Procfile, Protecting Applications and Preventing Attacks
profile parameter, The Twitter Passport Strategy (OAuth)
program flow and asynchronous functionality, Taking a Closer Look at Asynchronous Program FlowTaking a Closer Look at Asynchronous Program Flow
promises vs. callback functions, Promises, No Promises, Callback InsteadPromises, No Promises, Callback Instead
proxies, ProxiesProxies, Proxies
public keys, Setting Up TSL/SSL
publish event, Writing That package.json File
pull request, Node, Git, and GitHub
put method, Cue the MVC
PUT verb, Routing, Routing and HTTP Verbs, Routing and HTTP Verbs, Routing and HTTP Verbs
PuTTY, Custom REPL
pwd command, child_process.spawn
pyramid of doom, Sequential Functionality, Nested Callbacks, and Exception Handling
Python, Installing Node on Linux (Ubuntu)

R

RailwayJS framework, Testing the Express Application with cURL
rainbow table, Safely Storing Passwords
Ranney, Matt, Structured Data with Node and Redis
RavenDB, Node and MongoDB: Document-Centric Data
read-eval-print loop (REPL) (see REPL (read-eval-print loop))
readFile method, Reading a File Asynchronously, Reading a File Asynchronously, Reading a File Asynchronously, Reading a File Asynchronously, Taking a Closer Look at Asynchronous Program Flow, StepAsync, Building a Simple Static File Server from Scratch, Building a Simple Static File Server from Scratch, Building a Simple Static File Server from Scratch, Building a Simple Static File Server from Scratch, Sandboxed Code
readFileSync function, HTTP
reading files asynchronously, Reading a File AsynchronouslyReading a File Asynchronously
Readline module, Streams, Pipes, and Readline
README file, Node, Git, and GitHub
ready event, Using Query String or Chained Methods, Using Query String or Chained Methods
reasonPhrase method, Hello, World from the Top
reddish-proxy, Proxies
redirect method, Routing to Static Files
Redis key/value store, Structured Data with Node and Redis
Redis module, Finding Modules, Adding a Stats Middleware to an Express Application
Redis support
game leaderboard example, Building a Game LeaderboardBuilding a Game Leaderboard
installing module for, Getting Started with Node and RedisGetting Started with Node and Redis
message queue example, Creating a Message QueueCreating a Message Queue
stats middleware using, Adding a Stats Middleware to an Express ApplicationAdding a Stats Middleware to an Express Application
refactoring, Refactoring the Widget Factory
refreshing code changes, Refreshing Code with NodemonRefreshing Code with Nodemon
regular expressions in routes, Routers, Routing Path
relational database bindings
db-mysql module, Getting Started with db-mysqlUpdating the Database with Chained Methods
chained methods, Updating the Database with Chained MethodsUpdating the Database with Chained Methods
direct queries, Updating the Database with Direct QueriesUpdating the Database with Direct Queries
overview, Using Query String or Chained MethodsUsing Query String or Chained Methods
node-mysql module, Native JavaScript MySQL Access with node-mysqlMySQL Transactions with mysql-queues
CRUD with, Basic CRUD with node-mysqlBasic CRUD with node-mysql
transactions with, MySQL Transactions with mysql-queuesMySQL Transactions with mysql-queues
Sequelize module, ORM Support with SequelizeOvercoming Issues Related to Going from Relational to ORM
adding several objects at once, Adding Several Objects EasilyAdding Several Objects Easily
CRUD with, Using CRUD, ORM StyleUsing CRUD, ORM Style
defining model, Defining a ModelDefining a Model
issues with, Overcoming Issues Related to Going from Relational to ORMOvercoming Issues Related to Going from Relational to ORM
remoteAddress property, TCP Sockets and Servers
remotePort property, TCP Sockets and Servers
remove method, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove
remove option, Using Updates, Upserts, and Find and Remove
render method, Routing, Routing, Routing, Routing, Routing, Routing, Routing, Routing, Using EJS with Node, Using a Template System (EJS) with Express, Using a Template System (EJS) with Express, Using a Template System (EJS) with Express, Using a Template System (EJS) with Express, Using a Template System (EJS) with Express, Showing an Individual Object and Confirming an Object Deletion, Providing an Update Form and Processing a PUT Request, Adding a Stats Middleware to an Express Application
renderFile method, Using EJS with Node, Using EJS with Node
REPL (read-eval-print loop)
> prompt in, Custom REPL
arrow keys in, Multiline and More Complex JavaScript
autocomplete text in, Multiline and More Complex JavaScript
benefits of, Benefits of REPL: Getting a Closer Understanding of JavaScript Under the HoodBenefits of REPL: Getting a Closer Understanding of JavaScript Under the Hood
.break command in, REPL Commands
.clear command in, REPL Commands, Custom REPL
command-line prompt for, REPL: First Looks and Undefined Expressions
commands for, REPL CommandsREPL Commands
{} (curly braces) in, Multiline and More Complex JavaScript
global object in, Multiline and More Complex JavaScript, Multiline and More Complex JavaScript, Multiline and More Complex JavaScript
http module in, Custom REPL
keyboard shortcuts in, Multiline and More Complex JavaScript
log command in, Custom REPL
log method in, Multiline and More Complex JavaScript
making executable in Linux, Custom REPL
multiline code in, Multiline and More Complex JavaScriptCustom REPL
os module in, Custom REPL
overview, REPL: First Looks and Undefined ExpressionsREPL: First Looks and Undefined Expressions
process.stdin in, Custom REPL
qs variable in, Multiline and More Complex JavaScript
querystring object in, Multiline and More Complex JavaScript, Multiline and More Complex JavaScript
require statements in, Multiline and More Complex JavaScript
rlwrap utility in, REPL and rlwrapREPL and rlwrap, REPL and rlwrap, Stuff Happens—Save Often, Stuff Happens—Save Often
.save command in, Multiline and More Complex JavaScript, REPL Commands, REPL Commands, REPL Commands
saving in, Stuff Happens—Save OftenStuff Happens—Save Often
start method in, Custom REPL
stream option in, Custom REPL
using custom, Custom REPLCustom REPL
util module in, Custom REPL
var keyword in, REPL: First Looks and Undefined Expressions, Multiline and More Complex JavaScript, Multiline and More Complex JavaScript
_ (underscore) in, REPL: First Looks and Undefined Expressions
repl object, Custom REPL
replace method, Sequential Functionality, Nested Callbacks, and Exception Handling
repository, Node, Git, and GitHub
Representational State Transfer (REST), The app.js File in More Detail
req parameter, Custom Connect Middleware
Request module, Finding Modules
request object, HTTP, HTTP, HTTP
request parameter, Error Handling
requestListener method, Hello, World from the Top, HTTP, HTTP
require statements
in REPL, Multiline and More Complex JavaScript
loading modules using, Loading a Module with require and Default PathsLoading a Module with require and Default Paths, Creating Your Own Custom Module
section in file, Incorporating Stylus for Simplified CSS
required attribute, Routing and HTTP Verbs, Creating a PDF uploader and dealing with graphics lag time
requirements
libraries, Installing Node on Linux (Ubuntu)
Python, Installing Node on Linux (Ubuntu)
res parameter, Custom Connect Middleware
resolve method, Domain Resolution and URL Processing, Loading a Module with require and Default Paths, Loading a Module with require and Default Paths
response headers, Hello, World from the Top
response parameter, Error Handling
REST (Representational State Transfer), The app.js File in More Detail
resume method, process
reverse method, Domain Resolution and URL Processing
reverse proxy, Proxies, Proxies
rewriting web requests, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification
rlwrap utility, REPL and rlwrapREPL and rlwrap, Stuff Happens—Save Often, Stuff Happens—Save Often, Streams, Pipes, and Readline, Streams, Pipes, and Readline
rollback method, MySQL Transactions with mysql-queues
router middleware module, The app.js File in More Detail, A Closer Look at the Express/Connect Partnership, Cue the MVC
routing, RoutersRouters
* (asterisk) in, Routing Path
in Express framework, RoutingRouting and HTTP Verbs
and HTTP verbs, Routing and HTTP VerbsRouting and HTTP Verbs
path, Routing PathRouting Path
regular expressions in, Routers, Routing Path
to static files, Routing to Static FilesRouting to Static Files
rpush method, Creating a Message Queue
Ruby on Rails, Cue the MVC
runInContext method, Sandboxed Code, Sandboxed Code
runInThisContext methods, Sandboxed Code

S

-s option, Keeping Your Application Alive with Forever
sadd method, Adding a Stats Middleware to an Express Application
safe parameter, Using Updates, Upserts, and Find and Remove
salt, Safely Storing Passwords
sandboxing, Sandboxed CodeSandboxed Code, Sandboxed Code
Sanderson, Steve, Partnering Node with WebMatrix on Windows 7
sanitizing data
sanitize method, Scrub Your Data and Sanitize It with node-validator, Scrub Your Data and Sanitize It with node-validator
with node-validator module, Scrub Your Data and Sanitize It with node-validatorScrub Your Data and Sanitize It with node-validator
Sauce Labs, Selenium Testing with Soda
.save command, Multiline and More Complex JavaScript, REPL Commands, REPL Commands, REPL Commands
script element, About That Client Code
secure shell (SSH) (see SSH (secure shell))
Secure Sockets Layer (SSL), Setting Up TSL/SSLSetting Up TSL/SSL
security
authentication/authorization with Passport module, Authentication/Authorization with PassportThe Twitter Passport Strategy (OAuth)
locally stored, The Local Passport StrategyThe Local Passport Strategy
using OAuth, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password VerificationAuthorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification, The Twitter Passport Strategy (OAuth)The Twitter Passport Strategy (OAuth)
using OpenID, Authorization/Authentication Strategies: OAuth, OpenID, Username/Password VerificationAuthorization/Authentication Strategies: OAuth, OpenID, Username/Password Verification
encrypting data, Encrypting DataSafely Storing Passwords
storing passwords, Safely Storing PasswordsSafely Storing Passwords
with HTTPS, Working with HTTPSWorking with HTTPS
with TLS/SSL, Setting Up TSL/SSLSetting Up TSL/SSL
protecting against attacks, Protecting Applications and Preventing AttacksScrub Your Data and Sanitize It with node-validator
avoiding eval function, Don’t Use evalDon’t Use eval
avoiding open text fields, Do Use Checkboxes, Radio Buttons, and Drop-Down SelectionsDo Use Checkboxes, Radio Buttons, and Drop-Down Selections
sanitizing data with node-validator module, Scrub Your Data and Sanitize It with node-validatorScrub Your Data and Sanitize It with node-validator
sandboxing code, Sandboxed CodeSandboxed Code
Selenium, Selenium Testing with Soda
self-signed certificates, Setting Up TSL/SSL
semicolons, Node Style
send method, Routing Path, Routing Path, Routing Path, Showing an Individual Object and Confirming an Object Deletion, Chat: The WebSockets “Hello, World”
sendfile method, Routing to Static Files, Routing to Static Files
Sequelize module, ORM Support with SequelizeOvercoming Issues Related to Going from Relational to ORM
adding several objects at once, Adding Several Objects EasilyAdding Several Objects Easily
CRUD with, Using CRUD, ORM StyleUsing CRUD, ORM Style
defining model, Defining a ModelDefining a Model
issues with, Overcoming Issues Related to Going from Relational to ORMOvercoming Issues Related to Going from Relational to ORM
sequence, Asynchronous Patterns and Control Flow Modules, Asynchronous Patterns and Control Flow Modules
sequential functionality, Sequential Functionality, Nested Callbacks, and Exception HandlingSequential Functionality, Nested Callbacks, and Exception Handling
sequential programming, Sequential Functionality, Nested Callbacks, and Exception Handling
serial method, Async, Async, Async
serializeFunction parameter, Using Updates, Upserts, and Find and Remove
serializeUser method, The Local Passport Strategy, The Local Passport Strategy
series
defined, Asynchronous Patterns and Control Flow Modules, Asynchronous Patterns and Control Flow Modules
method, Building a Game Leaderboard, Building a Game Leaderboard, Building a Game Leaderboard, Building a Game Leaderboard, Building a Game Leaderboard
Server constructor, Getting Started with MongoDB
ServerRequest object, HTTP
ServerResponse object, Hello, World from the Top, HTTP
servers
deploying to, Deploying Your Node Application to Your ServerImproving Performance
alongside another web server, Using Node and Apache TogetherUsing Node and Apache Together
improving performance of, Improving PerformanceImproving Performance
package.json file, Writing That package.json FileWriting That package.json File
using Forever module, Keeping Your Application Alive with ForeverKeeping Your Application Alive with Forever
minimal static file server, Building a Simple Static File Server from ScratchBuilding a Simple Static File Server from Scratch
session middleware module, The Local Passport Strategy
set method, The app.js File in More Detail, The app.js File in More Detail, Adding a Stats Middleware to an Express Application, Updating the Database with Chained Methods
setBreakpoint command, The Node.js Debugger
setEncoding method, Buffer, Buffer, TCP Sockets and Servers, TCP Sockets and Servers, Streams, Pipes, and Readline, child_process.spawn
setInterval function, The Timers: setTimeout, clearTimeout, setInterval, and clearInterval
setMaxListeners method, Events and EventEmitter
setTimeout function, Taking a Closer Look at Asynchronous Program Flow, process, process, process, The Timers: setTimeout, clearTimeout, setInterval, and clearInterval, The Timers: setTimeout, clearTimeout, setInterval, and clearInterval, The Timers: setTimeout, clearTimeout, setInterval, and clearInterval
sha1 algorithm, Safely Storing Passwords
shared hosting, Installing Node on Linux (Ubuntu)
showStack flag, Error Handling
sign method, Safely Storing Passwords
SimpleDB, Node and MongoDB: Document-Centric Data
single quotes, Node Style
single thread
for Node, Why Node?
overhead of, Benefits of Node
Socket.IO module, Finding Modules
and WebSockets, An Introduction to Socket.IOAbout That Client Code
configuring, Configuring Socket.IOConfiguring Socket.IO
using with Express, Using Socket.IO with ExpressUsing Socket.IO with Express
sockets, Servers, Streams, and Sockets
Soda module, Selenium Testing with SodaSelenium Testing with Soda
sorted set, Building a Game Leaderboard
spawn method, child_process.spawnchild_process.spawn, child_process.spawn
SSH (secure shell), Joyent Development SmartMachines, Node, Git, and GitHub
SSL (Secure Sockets Layer), Setting Up TSL/SSLSetting Up TSL/SSL
stack property, Sequential Functionality, Nested Callbacks, and Exception Handling
Standard IO (STDIO), Globals: global, process, and Buffer
start event, Writing That package.json File
start method, Custom REPL
startnum/endnum values, Properly Serving HTML5 Video with HTTP
stat command, Sequential Functionality, Nested Callbacks, and Exception Handling
static files
routing to, Routing to Static FilesRouting to Static Files
server for, Building a Simple Static File Server from ScratchBuilding a Simple Static File Server from Scratch
static middleware module, connect.staticconnect.static, The app.js File in More Detail, The app.js File in More Detail
static middleware option, connect.static, connect.static, connect.static
staticCache middleware module, A Closer Look at the Express/Connect Partnership
stats method, Sequential Functionality, Nested Callbacks, and Exception Handling, Sequential Functionality, Nested Callbacks, and Exception Handling, Async, Async, Async
stats middleware module, Adding a Stats Middleware to an Express ApplicationAdding a Stats Middleware to an Express Application
stderr stream, process, process, child_process.spawn, child_process.spawn, child_process.spawn, Error Handling
stdin stream, process, process, process, process, process, UDP/Datagram Socket, UDP/Datagram Socket, Streams, Pipes, and Readline, Streams, Pipes, and Readline, child_process.spawn, child_process.spawn, Events and EventEmitter
STDIO (Standard IO), Globals: global, process, and Buffer
stdout stream, process, process, process, process, Streams, Pipes, and Readline, child_process.spawn, child_process.spawn, child_process.spawn, child_process.spawn, connect.logger
step command, The Node.js Debugger, The Node.js Debugger
Step module, StepStep
Strata framework, Testing the Express Application with cURL
stream interface, Streams, Pipes, and ReadlineStreams, Pipes, and Readline
stream option, Custom REPL
strict equality operator, Node Style
strictEqual method, Unit Testing with Assert, Unit Testing with Assert, Unit Testing with Assert
stringEqual method, Unit Testing with Assert
strings, encodings for, Buffer
.styl files, Incorporating Stylus for Simplified CSS
style tag, Building a Game Leaderboard
Stylus
in template systems, Incorporating Stylus for Simplified CSSIncorporating Stylus for Simplified CSS
no dynamic CSS views in, Incorporating Stylus for Simplified CSS
Subversion, Node, Git, and GitHubNode, Git, and GitHub
success event, Using Query String or Chained Methods, Using Query String or Chained Methods
sudo command, Installing Node on Linux (Ubuntu), Installing Node on Linux (Ubuntu)
superConstructor argument, The Utilities Module and Object Inheritance
superuser privileges, Installing Node on Linux (Ubuntu)
syntax for EJS template system, Learning the Basic SyntaxLearning the Basic Syntax

T

tail command, Creating a Message Queue
TCP (Transmission Control Protocol), Buffer, WebSockets and Socket.IO
template systems
EJS (embedded JavaScript) template system, The Embedded JavaScript (EJS) Template SystemProviding an Update Form and Processing a PUT Request
filters for, Using the EJS for Node FiltersUsing the EJS for Node Filters
for Node, Using EJS with NodeUsing EJS with Node
syntax for, Learning the Basic SyntaxLearning the Basic Syntax
using with Express, Using a Template System (EJS) with ExpressProviding an Update Form and Processing a PUT Request
Jade template system, The Jade Template SystemConverting the edit and deletion forms
modularizing views in, Using block and extends to Modularize the View TemplatesConverting the edit and deletion forms
syntax for, Taking the Nickel Tour of the Jade SyntaxTaking the Nickel Tour of the Jade Syntax
Stylus in, Incorporating Stylus for Simplified CSSIncorporating Stylus for Simplified CSS
test event, Writing That package.json File
testing
acceptance testing, Acceptance TestingEmulating a Browser with Tobi and Zombie
with Soda module, Selenium Testing with SodaSelenium Testing with Soda
with Tobi module, Emulating a Browser with Tobi and ZombieEmulating a Browser with Tobi and Zombie
with Zombie module, Emulating a Browser with Tobi and ZombieEmulating a Browser with Tobi and Zombie
in all browsers, Building a Simple Static File Server from Scratch
performance testing, Performance Testing: Benchmarks and Load TestsLoad Testing with Nodeload
benchmark testing with ApacheBench module, Benchmark Testing with ApacheBenchBenchmark Testing with ApacheBench
load testing with Nodeload module, Load Testing with NodeloadLoad Testing with Nodeload
unit testing, Unit TestingVows
with Assert module, Unit Testing with AssertUnit Testing with Assert
with Jasmine framework, JasmineJasmine
with Mocha framework, MochaMocha
with Nodeunit module, Unit Testing with NodeunitUnit Testing with Nodeunit
with Vows framework, VowsVows
text/html content type, Building a Simple Static File Server from Scratch
third-party authentication/authorization, Authentication/Authorization with Passport
this context keyword, The Utilities Module and Object Inheritance, The Utilities Module and Object Inheritance, Step, Step, Step, Step, Step
time-consuming operations, Reading a File Asynchronously
timer functions, The Timers: setTimeout, clearTimeout, setInterval, and clearIntervalThe Timers: setTimeout, clearTimeout, setInterval, and clearInterval
TLS (Transport Layer Security), Servers, Streams, and Sockets, Creating a PDF uploader and dealing with graphics lag time, Setting Up TSL/SSLSetting Up TSL/SSL
Tobi module, Emulating a Browser with Tobi and ZombieEmulating a Browser with Tobi and Zombie
token parameter, The Twitter Passport Strategy (OAuth), The Twitter Passport Strategy (OAuth), The Twitter Passport Strategy (OAuth)
tokenSecret parameter, The Twitter Passport Strategy (OAuth), The Twitter Passport Strategy (OAuth), The Twitter Passport Strategy (OAuth)
toString method, UDP/Datagram Socket
Tower.js framework, Testing the Express Application with cURL
transactions support, MySQL Transactions with mysql-queuesMySQL Transactions with mysql-queues
Transmission Control Protocol (TCP) (see TCP (Transmission Control Protocol))
Transport Layer Security (TLS) (see TLS (Transport Layer Security))
transports option, Configuring Socket.IO
Triple-DES encryption, Setting Up TSL/SSL
trusted authorities, Setting Up TSL/SSL
try blocks, Sequential Functionality, Nested Callbacks, and Exception Handling
Twitter, The Twitter Passport Strategy (OAuth)
type parameter, Routers

U

Ubuntu, Installing Node on Linux (Ubuntu)Installing Node on Linux (Ubuntu)
UDP (User Datagram Protocol), Servers, Streams, and Sockets, UDP/Datagram SocketUDP/Datagram Socket
Uglify-js module, Finding Modules
Underscore module, Finding Modules, UnderscoreUnderscore
unidirectional, WebSockets
unit testing, Unit TestingVows
with Assert module, Unit Testing with AssertUnit Testing with Assert
with Jasmine framework, JasmineJasmine
with Mocha framework, MochaMocha
with Nodeunit module, Unit Testing with NodeunitUnit Testing with Nodeunit
with Vows framework, VowsVows
update event, Writing That package.json File
update method, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove, Updating the Database with Direct Queries, Updating the Database with Chained Methods, Updating the Database with Chained Methods, Updating the Database with Chained Methods, Updating the Database with Chained Methods, MySQL Transactions with mysql-queues
update modifiers for MongoDB, Using Updates, Upserts, and Find and RemoveUsing Updates, Upserts, and Find and Remove
upload files page, Creating a PDF uploader and dealing with graphics lag timeCreating a PDF uploader and dealing with graphics lag time
uppercase, use of, Node Style
upserts
defined, Using Updates, Upserts, and Find and Remove
parameter, Using Updates, Upserts, and Find and Remove, Using Updates, Upserts, and Find and Remove
URL module, Domain Resolution and URL Processing
url property, Building a Simple Static File Server from Scratch
use method, Connect Basics, Connect Basics
useGlobal flag, global
User Datagram Protocol (UDP) (see UDP (User Datagram Protocol))
Utilities module, Custom REPL, The Utilities Module and Object InheritanceThe Utilities Module and Object Inheritance

W

W3C (World Wide Web Consortium), WebSockets
waterfall method, Asynchronous Patterns and Control Flow Modules, Async, Async, Async, Async, Async, Building a Game Leaderboard, Building a Game Leaderboard
WebDriver, Selenium Testing with Soda
WebGL, Graphics and HTML5 Video
WebSockets protocol, WebSocketsWebSockets
and Socket.IO, An Introduction to Socket.IOAbout That Client Code
browser support for, WebSockets
client side requirements, About That Client CodeAbout That Client Code
Hello, World example, Chat: The WebSockets “Hello, World”Chat: The WebSockets “Hello, World”
in asynchronous application, WebSockets in an Asynchronous WorldWebSockets in an Asynchronous World
simple example using, A Simple Communication ExampleA Simple Communication Example
where method, Updating the Database with Chained Methods
Widget Factory, The Twitter Passport Strategy (OAuth)
Windows 7
child processes in, Running a Child Process Application in WindowsRunning a Child Process Application in Windows
installing development environment on, Partnering Node with WebMatrix on Windows 7Partnering Node with WebMatrix on Windows 7
Windows Azure, Deploying to Windows Azure via Cloud9 IDEDeploying to Windows Azure via Cloud9 IDE
wkhtmltopdf utility, Taking page snapshots with wkhtmltopdfTaking page snapshots with wkhtmltopdf
worker MPM (prefork multiprocessing model), Asynchronous Functions and the Node Event Loop
World Wide Web Consortium (W3C), WebSockets
write method, Buffer, TCP Sockets and Servers, Routing, Routing Path
writeFile method, Step, Step, Async, Async, Async
writeHead method, Hello, World from the Top, Hello, World from the Top