官术网_书友最值得收藏!

Conventions

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: "Our app.js file kicks off everything that deals with Express."

A block of code is set as follows:

var sayMyName = function(name){
//please don't alert anything
//this is not 1992
alert(name);
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

//get the err and data
function(err, data) {
//you have access to data here
var id = data.objects[0].id;
}

Any command-line input or output is written as follows:

# npm install express --save

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes, for example, appear in the text like this: "Click on the Login button to log in."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 海丰县| 永德县| 庄浪县| 常德市| 聂拉木县| 应用必备| 右玉县| 长汀县| 岳阳市| 红河县| 黄冈市| 衡阳市| 阳山县| 灵宝市| 喀喇沁旗| 清原| 陇西县| 舞钢市| 大庆市| 石嘴山市| 乐陵市| 繁昌县| 舟曲县| 宁德市| 阳东县| 惠水县| 交城县| 赤壁市| 晴隆县| 杭锦后旗| 鄂托克前旗| 墨脱县| 鹿邑县| 鲁山县| 水城县| 高青县| 九江县| 友谊县| 吕梁市| 开远市| 宁远县|