{"id":318856,"date":"2021-02-05T04:58:47","date_gmt":"2021-02-04T20:58:47","guid":{"rendered":"http:\/\/4563.org\/?p=318856"},"modified":"2021-02-05T04:58:47","modified_gmt":"2021-02-04T20:58:47","slug":"%e5%ad%a6-node-js%ef%bc%8c%e8%a6%81%e6%9c%89-web-%e5%9f%ba%e7%a1%80%e5%90%97%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=318856","title":{"rendered":"\u5b66 Node.js\uff0c\u8981\u6709 Web \u57fa\u7840\u5417\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5b66 Node.js\uff0c\u8981\u6709 Web \u57fa\u7840\u5417\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lagoon <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>Android \u51fa\u8eab\uff0c\u5b66\u8fc7 React Native \uff08\u80fd\u5199 demo \uff09\uff0c\u4ece\u4e8b Flutter \u3002 <\/p>\n<p>\u6bd4\u8f83\u559c\u6b22\u5b66\u65b0\u4e1c\u897f\u3002\u4e3b\u8981\u662f\u57fa\u4e8e\u672a\u6765\u6216\u8bb8\u6709\u7528\u5462\uff1f\u4ee5\u53ca\u4f3c\u4e4e\u633a\u6709\u8da3\u3002 <\/p>\n<p>\u5b66 Node.js \u662f\u4e0d\u662f\u8981\u5efa\u7acb\u5728\u4f1a Web \u524d\u7aef\u7684\u57fa\u7840\u4e0a?<\/p>\n<\/p><\/div>\n<p><\/p>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>22<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5199815\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kop1989 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u719f\u6089 js \u8bed\u6cd5\u5c31\u8db3\u591f\u4e86\u3002<br \/>\u6211\u7684\u7406\u89e3\uff0cnode.js \u5c31\u662f\u4e00\u4e2a\u80fd\u8fd0\u884c js \u4ee3\u7801\u7684\u201c\u63a7\u5236\u53f0\u201d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199816\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : anjianshi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u592a\u9700\u8981\u524d\u7aef\u57fa\u7840\uff0c\u53cd\u800c\u9700\u8981\u540e\u7aef\u57fa\u7840\uff0c\u57fa\u672c\u7684\u50cf HTTP \u534f\u8bae\u3001\u6570\u636e\u5e93\u8fde\u63a5\u7ebf\u7a0b\u6c60\u4e4b\u7c7b\u7684\u3002<br \/>\u53e6\u5916\u5c31\u662f\u719f\u6089 js \u8bed\u6cd5\u4ee5\u53ca\u5404\u79cd\u5751\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199817\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zy445566 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u8981\u7d27\uff0c\u547d\u4ee4\u884c\u90fd\u80fd\u73a9                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199818\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lagoon <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @kop1989 <br \/>@anjianshi <br \/>@zy445566 <br \/>\u8c22\u8c22\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199819\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : happysoul <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8fd9\u95ee\u9898\u5c31\u8ddf\u4e0d\u4f1a\u82f1\u8bed\u662f\u5426\u80fd\u770b\u61c2\u82f1\u6587\u6587\u6863\u4e00\u6837                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199820\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lagoon <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @happysoul \u4e0d\u4f1a\u82f1\u8bed\u80af\u5b9a\u662f\u4e0d\u80fd\u770b\u61c2\u82f1\u6587\u6587\u6863\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199821\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : anonydmer <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u4e3b\u73b0\u5728\u7684\u7ecf\u9a8c\u662f\u524d\u7aef\u4e3a\u4e3b\uff1b nodejs \u65e2\u53ef\u4ee5\u7528\u6765\u5199\u524d\u7aef\uff08\u6d4f\u89c8\u5668\u573a\u666f\uff09\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u5199\u540e\u7aef\uff08\u670d\u52a1\u5668\u7aef\u573a\u666f\uff09\uff1b\u6240\u4ee5\u5982\u679c\u4f60\u7528 nodejs \u6765\u5199\u524d\u7aef\u9875\u9762\u7684\u8bdd\u90a3\u80af\u5b9a\u5f97\u9700\u8981 web \u57fa\u7840\uff1b\u4f46\u662f\u5982\u679c\u4f60\u4f7f\u7528 nodejs \u6765\u5199\u540e\u7aef\u4e1a\u52a1\u548c API \u4e4b\u7c7b\u7684\u8bdd\u53ef\u4ee5\u4e0d\u9700\u8981\u592a\u9ad8\u7684 web \u57fa\u7840\uff0c\u4f46\u662f\u9700\u8981\u7f51\u7edc \/\u6570\u636e\u5e93 \/\u7ebf\u7a0b\u8fd9\u4e9b\u3002<\/p>\n<p>\u5f53\u7136\u8fd8\u6709\u4f7f\u7528 nodejs \u4e00\u628a\u68ad\u7684\u60c5\u51b5\uff0c\u90a3\u5c31\u90fd\u9700\u8981\u4e86\u89e3\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199822\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : KouShuiYu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f1a js \u5c31\u884c\u4e86\uff0c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199823\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : alphanow <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90a3\u8981\u770b\u4f60\u60f3\u5b66\u4ec0\u4e48\u4e86\uff0cNodeJS \u5bf9\u4e8e\u524d\u7aef\u5c31\u662f\u5de5\u5177\u94fe\u7684\u4e00\u90e8\u5206\uff0c\u6ca1\u5fc5\u8981\u50cf\u540e\u7aef\u4e00\u6837\u53bb\u5b66 NodeJS \u6807\u51c6\u5e93\u3002<br \/>\u5bf9\u4e8e\u540e\u7aef\u90a3\u5c31\u662f\u8fd0\u884c\u65f6\uff0c\u4e0d\u9700\u8981\u4f60\u6709\u4efb\u4f55\u524d\u7aef\u57fa\u7840\u3002<br \/>\u5982\u679c\u662f\u5b66 ES \/ TS\uff0c\u90a3\u5c31\u66f4\u52a0\u65e0\u6240\u8c13\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199824\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dfzj <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u9700\u8981\uff0c\u4e86\u89e3\u4e0b http \u534f\u8bae\u5373\u53ef                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199825\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xpresslink <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u73b0\u5728\u57fa\u672c\u4e0a web \u5f00\u53d1\u90fd\u662f\u524d\u540e\u7aef\u5206\u79bb\uff0c\u9762\u5411\u63a5\u53e3\u5f00\u53d1\u4e86\uff0c\u4e3b\u8981\u660e\u767d HTTP \u57fa\u672c\u539f\u7406\uff0c\u540e\u7aef\u7684\u6570\u636e\u5e93\u3001\u4e2d\u95f4\u4ef6\u4e4b\u7c7b\u7684\u3002<br \/>\u5bf9\u524d\u7aef\u7684 HTML \u3001JS \u4e0d\u4e00\u5b9a\u8981\u5f88\u7cbe\uff0c\u4f46\u662f\u57fa\u7840\u7684\u8981\u61c2\u5f97\uff0c\u4e0d\u7136\u4f60\u8ddf\u524d\u7aef\u5de5\u7a0b\u5e08\u6495\u903c\u80af\u5b9a\u5403\u4e8f\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199826\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xpresslink <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u8fc7\u57fa\u672c\u4e0a\u6ca1\u89c1\u8fc7\u53ea\u4f1a\u7528 node \u505a\u540e\u7aef\u7684\u3002\u90fd\u524d\u7aef\u5de5\u7a0b\u5e08\u505a\u4e2a\u7ba1\u7406\u540e\u53f0\u7528 node \u4e00\u628a\u68ad\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199827\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : agdhole <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u4f60\u53ea\u662f\u5199 api\uff0c\u90a3\u53ef\u4ee5\u4e0d\u8981                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199828\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : libook <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5355\u7eaf\u5b66 Node \u672c\u8eab\u7684\u8bdd\u4e0d\u9700\u8981\u6709 Web \u57fa\u7840\u3002<\/p>\n<p>\u5b66\u4f1a\u4e4b\u540e\u5bb3\u4f60\u8981\u7528 Node \u505a\u5565\uff0c\u5982\u679c\u8981\u505a Web \u670d\u52a1\u7684\u8bdd\uff0c\u5c31\u8981\u6709 Web \u670d\u52a1\u76f8\u5173\u7684\u57fa\u7840\uff0c\u6bd4\u5982 HTTP \u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199829\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : soulmt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             node \u4e5f\u5206\u504f\u524d\u7aef\u8fd8\u662f\u504f\u540e\u7aef\u7684\uff0c\u770b\u4f60\u62ff node \u505a\u4ec0\u4e48\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199830\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhuangzhuang1988 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6709.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199831\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : happysoul <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u524d\u9762\u62ff\u82f1\u8bed\u5f53\u4f8b\u5b50\u8bf4\u7684\u6781\u7aef\u4e86\u3002\u5f88\u591a\u4eba\u8bf4 node \u5206\u524d\u540e\u7aef\uff0c\u4e0d\u8fc7\u505a\u540e\u7aef\u5f88\u5c11\uff0c\u5c31\u597d\u50cf\u4f60\u5199 android \u7a0b\u5e8f\uff0c\u4e00\u822c\u90fd\u8981\u4fa7\u91cd\u4e8e\u5c55\u793a\uff0c\u5f88\u5c11\u4f1a\u6709\u4eba\u4f1a\u7528 java \u5199\u7eaf\u5b89\u5353\u7684\u5e95\u5c42\u670d\u52a1\uff0c\u6bd5\u7adf\u5e95\u5c42\u7684\u4e1c\u897f\u8fd8\u662f\u4ea4\u7ed9 c \u5904\u7406\u6700\u5408\u9002\u3002\u56de\u5230 node \u6765\u8bf4\uff0c\u867d\u7136\u53ef\u4ee5\u505a web \u670d\u52a1\uff0c\u4f46\u662f\u76f8\u6bd4 java \u3001php \u7684\u63a5\u53e3\u670d\u52a1\u6765\u8bf4\uff0c\u4e13\u95e8\u7684\u4e1c\u897f\u8fd8\u662f\u8981\u505a\u4e13\u95e8\u7684\u4e8b\u513f\u3002<br \/>\u91cd\u70b9\u8bf4 node \u5199\u524d\u7aef\uff0c\u4e0d\u505a\u9875\u9762\u6709\u4e9b\u2018\u4e0d\u52a1\u6b63\u4e1a\u2019\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199832\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cmdOptionKana <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5b66 Node.js \u53ea\u6709\u4e00\u4e2a\u524d\u63d0\u6761\u4ef6\uff1a\u61c2 JavaScript \u3002<\/p>\n<p>\u4f46\u66f4\u5173\u952e\u7684\u95ee\u9898\u662f\uff0c\u4f60\u5b66 Node.js \u7684\u76ee\u7684\u662f\u4ec0\u4e48\uff1f<\/p>\n<p>\u5982\u679c\u4f60\u7684\u76ee\u7684\u662f\u641e web \u540e\u7aef\uff0c\u90a3\u5f53\u7136\u4e0d\u9700\u8981 web \u524d\u7aef\u7684\u77e5\u8bc6\uff08\u6bd4\u5982\u4e0d\u9700\u8981\u61c2 html, css \u548c DOM \uff09\u3002<\/p>\n<p>\u5982\u679c\u4f60\u751a\u81f3\u4e0d\u60f3\u641e web\uff0c\u53ea\u7528 Node.js \u6765\u5199\u4e00\u4e9b\u672c\u5730\u7684\u547d\u4ee4\u884c\u5de5\u5177\uff08\u6bd4\u5982\u539f\u672c\u7528 bash \u6216 python \u5199\u7684\u5de5\u5177\uff0c\u73b0\u5728\u7528 Node.js \u6765\u6539\u5199\uff09\uff0c\u90a3\u5c31\u5b8c\u5168\u4e0d\u9700\u8981\u4efb\u4f55 web \u76f8\u5173\u77e5\u8bc6\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199833\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lneoi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u81ea\u5df1\u641e\u5c31\u770b\u4f60\u9700\u6c42 \u559c\u6b22\u4ec0\u4e48\u5b66\u4ec0\u4e48<br \/>\u5982\u679c\u627e\u5de5\u4f5c\u7684\u8bdd \u662f\u5f88\u6709\u5fc5\u8981\u7684 \u57fa\u672c\u90fd\u662f\u524d\u7aef\u5728\u7528 nodejs \u6216\u8005\u662f\u4f1a nodejs \u7684\u524d\u7aef\u4e5f\u57fa\u672c\u90fd\u4f1a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199834\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : phxsuns <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5b66 NodeJS \u53ef\u80fd\u4e0d\u9700\u8981\u3002<br \/>\u4f46\u662f\u7528 NodeJS \u9700\u8981\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199835\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Kasumi20 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Node.js \u548c web \u6ca1\u6709\u76f4\u63a5\u5173\u8054\u7684\u5173\u7cfb\u5440                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5199836\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lbunderway <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u540e\u7aef\u5c31\u770b js,node \u6807\u51c6\u5e93\uff0cmysql,express,koa,egg,sequelize<br \/>\u524d\u7aef\u611f\u89c9\u5c31\u662f\u5305\u7ba1\u7406\uff0c\u7f16\u8bd1\u4f5c\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5b66 Node.js\uff0c\u8981\u6709 Web &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/318856"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=318856"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/318856\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=318856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=318856"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=318856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}