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

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.

主站蜘蛛池模板: 靖西县| 丹棱县| 神农架林区| 松滋市| 库车县| 沿河| 惠州市| 陇西县| 确山县| 元氏县| 湛江市| 门源| 丰城市| 怀来县| 祁东县| 那坡县| 当雄县| 当阳市| 浮梁县| 蓬莱市| 兴义市| 吴江市| 临武县| 定远县| 弥勒县| 珲春市| 宁南县| 冕宁县| 黎平县| 浠水县| 永嘉县| 康乐县| 宁武县| 泰和县| 西平县| 海原县| 土默特右旗| 璧山县| 惠东县| 弥勒县| 津市市|