Errata

Building Node Applications with MongoDB and Backbone

Errata for Building Node Applications with MongoDB and Backbone

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
PDF
Page 5
United States

On page 5, in the section titled, "Model-View-Controller", last paragraph, the sentence:

"Views are a different story; just as in real life, in software there is often multiple ways to perceive the same information."

should read:

Views are a different story; just as in real life, in software there are often multiple ways to perceive the same information.

Note from the Author or Editor:
Updated in next edition

Anonymous  Jan 07, 2013 
PDF
Page 7
United States

In Chapter 2, first paragraph, third sentence, the word "interfaction" should be "interaction".

Note from the Author or Editor:
Updated for next edition

Anonymous  Jan 07, 2013 
PDF
Page 44
United States

Page 44, section titled "Directory Structure", bullet point item 1 "hese" should be "these".

Note from the Author or Editor:
Corrected for next edition

Anonymous  Jan 07, 2013 
PDF
Page 44
United States

Page 44, section titled "Directory Structure", bullet point item 2 missing comma after the word "collections".

Note from the Author or Editor:
Corrected for next edition

Anonymous  Jan 07, 2013 
Printed
Page 45
United States

In the description of the "views/index.jade" template:

"...when they load the ropot (/) of the website..."

should be:

"...when they load the root (/) of the website..."

Note from the Author or Editor:
Updated for next edition

Brandon Taylor  Jan 10, 2013 
ePub
Page 158
Example 7-17

Note: in ePub the page number varies with font size.

Example 7-17. The updated app.js

Parameters used in the function call do not match those in the defined function. The function call is:

Account: require('./models/Account')(config, mongoose, nodemailer)

The function definition in ./models/Account as shown in example 7-15 is:

module.exports = function(config, mongoose, Status, nodemailer)

Either 'Status' should be omitted from the function definition or included in the function call. As it is, the app fails because nodemailer is undefined.

Note from the Author or Editor:
since 'Status' is an object declared inside the Account model, the signature should look like this instead:

module.exports = function(config, mongoose, Status, nodemailer) {

templemang  Jan 22, 2013