Node. js 소개

1284 단어
NodeJS  

1.  :

* Node.js   Chrome JavaScript          ,      Google Chrome V8       ,          、        。
* Node.js          I/O  ,         ,                        。
*        Javascript,     Javascript      , Node.js      JS      ,       JS   Node.js      。
* JS     JS         ,    JS       ,    JS     DOM   window     。Node.js  JS       ,node.js JS      、  http  、  TCP、UDP     ,  Node.js                。

2.       :PEPL

* Node.js            ,      ,      JS  ,       Chrome    Firebug    Console。
*  Linux       ,  "node"  “nodejs”  Node.js        ,Ctrl+d       。
*         Node.js  :node -v or nodejs -v
*   JS  ,eg:node file.js or nodejs file.js

3.Node.js    
    1.  
        * Node.js         ,             ,       fs,  http     http ,        JS  ,           。
    2. 
        *                     ,      ,     。
        * Node.js   CommonJS  ,  CommonJS    ,  JS         ,        ,        JSON  ,  package.json。
        *      ,  bin          ,   lib     JS  ,   doc       ,   test         。
        * package.json               。
    3.npm     
        * npm node.js      ,npm          ,    npm                      。

    : 
    *         ,    : fang_beny
    *       http://www.cnblogs.com/fang-beny/p/4778591.html
    *      ,     ;

좋은 웹페이지 즐겨찾기