About this documentation node js v5 3

Page 323

Nodemailer, 120 HTML or plaintext email, 122 sending email, 120 to multiple recipients, 121 nodemon, 41 NODE_ENV, 129 node_modules directory, 20, 33 NoSQL databases, 6, 146 notification services, 140 npm (package manager), 12 -g (global) option, 11 install command, 13 installing Express, 20 managing Express project dependencies and project metadata, 20 online documentation, 286 packages your project relies on, 33 private npm registries, 280 npm init command, 20

O

object document mappers (ODMs), 147 online documentation, 285 OpenSSL, 208 generating private key and public key certifi‐ cate, 209 Opera, 254 operating systems hosts file, 178 installing ImageMagick, 95 installing Node, 9 Node on, 6 ports, 213 Unix/BSD system or Cygwin, modifying ex‐ ecution environment, 130 organization certificates, 211 OS X (see Mac OS X; operating systems)

P

PaaS (Platform as a Service), 267 package managers installing Node via, 9 npm, 12 package.json file, 20, 33 main property, 21 project metadata, 34 page testing, 40 embedding tests in the page, 41

global tests, 43 Grunt and, 50 page-specific test, 43 PageSpeed, 277 parameters, request object, 57 partials, 77 organizing into subdirectories, 79 partials object, 77 Passport, 220–229 setting up, 224 passwords problem with, 217 third-party authentication and, 220 path in URLs, 54 PEM (Privacy-enhanced Electronic Mail) file, 209 performance and handling of static resources, 182 databases, NoSQL versus relational, 146 optimizing, 277 social media plugins and, 233 periodicals, 286 persistence, 143–156 cloud storage, 145 database, 146 adding data, 153 creating schemas and models, 149 database connections with Mongoose, 148 performance and NoSQL databases, 146 retrieving data, 151 seeding initial data, 150 setting up MongoDB, 147 using MongoDB for session storage, 154 filesystem, 143 website designed to be scaled out, 132 personally identifiable information (PII), securi‐ ty for, 207 PhantomJS, 45 PHP, templating in, 67 Pilgrim, Mark, 285 Pingdom, 139 pipeline, 109 Platform as a Service (PaaS), 267 platform-independence of Node, 6 PNG images, 182 PORT environment variable, 22 ports, 213 port in URLs, 54

Index

www.it-ebooks.info

|

301


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.