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

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 are shown as follows: " In order to create the server we need the http module."

A block of code is set as follows:

    var http = require('http');
        http.createServer(function (request, response) {
        response.writeHead(200, {'Content-Type': 'text/html'}); 
        response.end('Woohoo!');
        }).listen(8080);

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 http = require('http');
        var path = require('path'); 
        http.createServer(function (request, response) {
        var lookup=path.basename(decodeURI(request.url)); 

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

sudo npm -g install express 

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: "We could make it possible for a hypothetical user to indicate if they were inspired by a quote, such as a Like button."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 南部县| 贵南县| 梨树县| 石泉县| 稻城县| 水富县| 海南省| 衡山县| 新乡县| 建平县| 岑溪市| 宁阳县| 思茅市| 宣恩县| 灵璧县| 新竹市| 滦南县| 文昌市| 堆龙德庆县| 汝阳县| 故城县| 临澧县| 河源市| 于田县| 突泉县| 普格县| 贵溪市| 新闻| 裕民县| 和田市| 杂多县| 调兵山市| 宁陕县| 遂昌县| 阿拉善右旗| 定西市| 隆尧县| 新宁县| 长泰县| 伊吾县| 蒙城县|