June 2013
Intermediate to advanced
236 pages
4h 33m
English
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The router middleware is responsible for handling the requests to the app."
A block of code is set as follows:
app.get('/', function(req, res) {
res.json({message: 'welcome'});
});When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
var not_found = function(req, res) {
res.status(404); res.render('404', {title: 'Not Found'}); ...Read now
Unlock full access