{"id":174448,"date":"2020-03-17T08:32:09","date_gmt":"2020-03-17T00:32:09","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=174448"},"modified":"2020-03-16T15:32:51","modified_gmt":"2020-03-16T07:32:51","slug":"nodejs-learning-manual","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/nodejs-learning-manual.html","title":{"rendered":"\u300anode.js\u5b66\u4e60\u624b\u518c\u300bpdf\u7535\u5b50\u4e66\u514d\u8d39\u4e0b\u8f7d"},"content":{"rendered":"
node.js\u5b66\u4e60\u624b\u518c(Node.js Little Book)\u662f\u4e00\u672c\u7ecf\u5178\u7684\u5f88\u597d\u7684\u5165\u95e8\u624b\u518c\uff0c\u662f\u5173\u4e8enodejs\u6280\u672f\u7684\u3002nodejs\u662fweb\u5f00\u53d1\u7684\u5feb\u901f\u670d\u52a1\u5668\u5f00\u53d1\u6280\u672f\uff0c\u5728\u73b0\u5728\u7684\u7f51\u7edc\u670d\u52a1\u5668\u6280\u672f\u5f00\u53d1\u5360\u6709\u4e00\u5b9a\u7684\u5730\u4f4d\u3002\u975e\u5e38\u8be6\u7ec6\u7684Nodejs\u5de5\u5177\u6587\u6863\uff0c\u8ba9\u4f60\u80fd\u975e\u5e38\u8f7b\u677e\u7684\u5b66\u4f1aNodejs\u57fa\u672c\u6982\u5ff5\u548c\u57fa\u672c\u7528\u6cd5\u3002\u6709\u9700\u8981\u7684\u670b\u53cb\u4eec\u53ef\u4ee5\u4e0b\u8f7d\u8bd5\u8bd5\u770b\u5427\uff01<\/p>\n
Node.js \u662f\u4e00\u4e2a\u9ad8\u6548\u80fd\u3001\u6613\u6269\u5145\u7684\u7f51\u7ad9\u5e94\u7528\u7a0b\u5f0f\u5f00\u53d1\u6846\u67b6 (Web Application Framework) \u3002\u5b83\u8bde\u751f\u7684\u539f\u56e0\uff0c\u662f\u70ba\u4e86\u8ba9\u5f00\u53d1\u8005\u80fd\u591f\u66f4\u5bb9\u6613\u5f00\u53d1\u9ad8\u5ef6\u5c55\u6027\u7684\u7f51\u8def\u670d\u52a1\uff0c\u4e0d\u9700\u8981\u7ecf\u8fc7\u592a\u591a\u590d\u6742\u7684\u8c03\u6821\u3001\u6548\u80fd\u8c03\u6574\u53ca\u7a0b\u5f0f\u4fee\u6539\uff0c\u5c31\u80fd\u6ee1\u8db3\u7f51\u8def\u670d\u52a1\u5728\u4e0d\u540c\u53d1\u5c55\u9636\u6bb5\u5bf9\u6548\u80fd\u7684\u8981\u6c42\u3002<\/p>\n
Ryan Dahl \u662f NodeJS \u7684\u50ac\u751f\u8005\uff0c\u76ee\u524d\u4efb\u804c\u65bc Joyent (\u4e3b\u673a\u8a17\u7ba1\u670d\u52a1\u516c\u53f8)\u3002\u4ed6\u5f00\u53d1 NodeJS \u7684\u76ee\u7684\uff0c\u5c31\u662f\u5e0c\u671b\u80fd\u89e3\u51b3 Apache \u5728\u8fde\u7ebf\u6570\u91cf\u8fc7\u9ad8\u65f6\uff0c\u7f13\u885d\u533a (buffer) \u548c\u7cfb\u7edf\u8d44\u6e90\u4f1a\u5f88\u5feb\u88ab\u8017\u5c3d\u7684\u95ee\u9898\uff0c\u5e0c\u671b\u80fd\u5efa\u7acb\u4e00\u4e2a\u65b0\u7684\u5f00\u53d1\u6846\u67b6\u4ee5\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002\u56e0\u6b64\u5c1d\u8bd5\u4f7f\u7528\u6548\u80fd\u5341\u5206\u4f18\u79c0\u7684 V8 JavaScript Engine \uff0c\u8ba9\u7f51\u7ad9\u5f00\u53d1\u4eba\u5458\u719f\u6089\u7684 JavaScript \u7a0b\u5f0f\u8bed\u8a00\uff0c\u4e5f\u80fd\u5e94\u7528\u65bc\u540e\u7aef\u670d\u52a1\u7a0b\u5f0f\u7684\u5f00\u53d1\uff0c\u5e76\u4e14\u5177\u6709\u51fa\u8272\u7684\u6267\u884c\u6548\u80fd\u3002<\/p>\n
JavaScript \u662f\u529f\u80fd\u5f3a\u5927\u7684\u7269\u4ef6\u5bfc\u5411\u7a0b\u5f0f\u8bed\u8a00\uff0c\u4f46\u662f\u5728 JavaScript \u7684\u5b98\u65b9\u89c4\u683c\u4e2d\uff0c\u4e3b\u8981\u662f\u5b9a\u4e49\u7f51\u9875 (\u4ee5\u700f\u89c8\u5668\u70ba\u57fa\u7840) \u5e94\u7528\u7a0b\u5f0f\u9700\u8981\u7684\u5e94\u7528\u7a0b\u5f0f\u4ecb\u9762(API) \uff0c\u5bf9 JavaScript \u7a0b\u5f0f\u7684\u5e94\u7528\u8303\u56f4\u6709\u6240\u4fb7\u9650\u3002\u70ba\u4f7f JavaScript \u80fd\u591f\u5728\u66f4\u591a\u7528\u9014\u53d1\u5c55\uff0cCommonJS \u89c4\u8303\u4e00\u7ec4\u6807\u6e96\u51fd\u5f0f\u5e93 (standard library) \uff0c\u4f7f JavaScript\u7684\u5e94\u7528\u8303\u56f4\u80fd\u591f\u548c Ruby \u3001Python \u53ca Java \u7b49\u8bed\u8a00\u540c\u6837\u4e30\u5bcc\u3002\u64b0\u5199 NodeJS \u7684JavaScript \u7a0b\u5f0f\u7801\uff0c\u7b26\u5408 CommonJS \u89c4\u8303\uff0c\u53ef\u4ee5\u4f7f\u7528 CommonJS API \u70ba\u57fa\u7840\u5f00\u53d1\u7a0b\u5f0f\uff0c\u5e76\u4e14\u5728\u4e0d\u540c\u7684 CommonJS \u517c\u5bb9 (compliant) JavaScript \u6267\u884c\u73af\u5883\u4e2d\uff0c\u7a0b\u5f0f\u7801\u5177\u6709\u53ef\u643a\u6027\u3002<\/p>\n
<\/p>\n
\u6839\u636e\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u56fd\u5bb6\u7248\u6743\u5c40\u76f8\u5173\u6cd5\u89c4\uff0c\u672c\u7ad9\u4e0d\u63d0\u4f9b\u8be5PDF\u7535\u5b50\u7248\u4e66\u7c4d
\n\u60a8\u53ef\u4ee5\u8fdb\u5165\u4ea4\u6d41\u793e\u7fa4\u4e2d\u7ee7\u7eed\u5bfb\u627e\u8d44\u6599\u6216\u8d2d\u4e70\u6b63\u7248\u4e66\u7c4d<\/p>\n
<\/a><\/p>\n \u6280\u672f\u4ea4\u6d41\u793e\u7fa4\uff1ahttps:\/\/lrxjmw.cn\/club<\/a><\/p>\n