{"id":14614,"date":"2023-03-27T02:51:40","date_gmt":"2023-03-26T18:51:40","guid":{"rendered":"https:\/\/www.gogoshark.com\/blog\/?p=14614"},"modified":"2023-05-31T18:03:31","modified_gmt":"2023-05-31T10:03:31","slug":"wordpress-x-headless","status":"publish","type":"post","link":"https:\/\/www.gogoshark.com\/blog\/all\/wordpress-x-headless\/","title":{"rendered":"WordPress x Headless \u8a5e\u5f59\u8868"},"content":{"rendered":"<p>========<\/p>\n<p>\u6b64\u9801\u9762\u63d0\u4f9b\u8207\u7121\u982d WordPress \u76f8\u95dc\u7684\u8853\u8a9e\u5b9a\u7fa9\u3002<\/p>\n<h2 id=\"a\"><a id=\"a-a\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#a\">A<\/a><\/h2>\n<h3 id=\"api\"><a id=\"api-api\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#api\">API<\/a><\/h3>\n<p>\u61c9\u7528\u7a0b\u5e8f\u7de8\u7a0b\u63a5\u53e3\uff1a\u4e00\u7a2e\u61c9\u7528\u7a0b\u5e8f\u6216\u8edf\u4ef6\u8207\u53e6\u4e00\u500b\u61c9\u7528\u7a0b\u5e8f\u6216\u8edf\u4ef6\u9032\u884c\u901a\u4fe1\u7684\u65b9\u6cd5\u3002<\/p>\n<h3 id=\"%e5%9c%96%e9%9b%86\"><a id=\"%E5%9C%96%E9%9B%86atlas\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#atlas\">\u5716\u96c6<\/a><\/h3>\n<p><a href=\"https:\/\/wpengine.com\/atlas\">Atlas<\/a> \u662f\u5b8c\u6574\u7684\u7121\u982d WordPress \u5e73\u53f0\u3002Atlas \u5728\u4e00\u500b\u5305\u4e2d\u5305\u542b\u52d5\u614b Node.js \u548c\u7121\u982d WordPress\uff0c\u4ee5\u53ca\u60a8\u9078\u64c7\u7684\u73fe\u4ee3\u524d\u7aef\u6846\u67b6\u3002<\/p>\n<h3 id=\"atlas-%e5%85%a7%e5%ae%b9%e5%bb%ba%e6%a8%a1%e5%99%a8\"><a id=\"atlas%E5%85%A7%E5%AE%B9%E5%BB%BA%E6%A8%A1%E5%99%A8-atlas-content-modeler\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#atlas-content-modeler\">Atlas \u5167\u5bb9\u5efa\u6a21\u5668<\/a><\/h3>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/atlas-content-modeler\">Atlas Content Modeler<\/a> \u662f WP Engine \u7684\u958b\u6e90 WordPress \u63d2\u4ef6\uff0c\u53ef\u7c21\u5316\u70ba\u7121\u982d WordPress \u7db2\u7ad9\u5275\u5efa\u5167\u5bb9\u6a21\u578b\u7684\u904e\u7a0b\u3002\u4f7f\u7528\u55ae\u4e00\u5de5\u5177\uff0c\u60a8\u53ef\u4ee5\u5275\u5efa\u4e00\u500b\u65b0\u7684\u5167\u5bb9\u6a21\u578b\uff0c\u70ba\u5176\u5b9a\u7fa9\u81ea\u5b9a\u7fa9\u5b57\u6bb5\u548c\u5206\u985e\u6cd5\uff0c\u5efa\u7acb\u6a21\u578b\u8207\u5176\u4ed6\u5e16\u5b50\u6216\u7528\u6236\u4e4b\u9593\u7684\u95dc\u4fc2\uff0c\u4e26\u901a\u904e WordPress REST API \u6216 WPGraphQL \u81ea\u52d5\u63d0\u4f9b\u6240\u6709\u9019\u4e9b\u6578\u64da.<\/p>\n<h2 id=\"b\"><a id=\"b-b\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#b\">B<\/a><\/h2>\n<h3 id=\"%e5%be%8c%e7%ab%af\"><a id=\"%E5%BE%8C%E7%AB%AFbackend\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#backend\">\u5f8c\u7aef<\/a><\/h3>\n<p>\u5728\u670d\u52d9\u5668\u7aef\uff08\u5728 Web \u670d\u52d9\u5668\u4e0a\uff09\u904b\u884c\u7684\u4ee3\u78bc\uff0c\u800c\u4e0d\u662f\u5728\u5ba2\u6236\u7aef\uff08\u5728\u7ad9\u9ede\u8a2a\u554f\u8005\u7684 Web \u700f\u89bd\u5668\u4e2d\uff09\u904b\u884c\u7684\u4ee3\u78bc\u3002<\/p>\n<h3 id=\"%e6%a7%8b%e5%bb%ba%e6%99%82%e9%96%93\"><a id=\"%E6%A7%8B%E5%BB%BA%E6%99%82%E9%96%93buildtime\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#buildtime\">\u69cb\u5efa\u6642\u9593<\/a><\/h3>\n<p>\u7de8\u7a0b\u4ee3\u78bc\u8f49\u63db\u70ba\u7de8\u8b6f\u8cc7\u7522\u7684\u6642\u671f(<a href=\"\/docs\/glossary\/index#html\">HTML<\/a>, <a href=\"\/docs\/glossary\/index#css\">CSS<\/a>, [JavaScript](\/docs\/glossary\/ index#javascript\uff09\u3001\u5716\u50cf\u548c\u5176\u4ed6\u6587\u4ef6\uff09\uff0c\u6700\u7d42\u5c07\u63d0\u4f9b\u7d66\u6700\u7d42\u7528\u6236\u3002\u69cb\u5efa\u6642\u9593\u901a\u5e38\u4e5f\u7a31\u70ba\u201c\u69cb\u5efa\u6642\u9593\u201d\u3001\u201c\u7de8\u8b6f\u6642\u9593\u201d\u6216\u201c\u7de8\u8b6f\u6642\u9593\u201d\u3002<\/p>\n<h2 id=\"c\"><a id=\"c-c\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#c\">C<\/a><\/h2>\n<h3 id=\"%e5%85%a7%e5%ae%b9%e7%ae%a1%e7%90%86%e7%b3%bb%e7%b5%b1-cms\"><a id=\"%E5%85%A7%E5%AE%B9%E7%AE%A1%E7%90%86%E7%B3%BB%E7%B5%B1cms-content-management-system-cms\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#content-management-system--cms-\">\u5167\u5bb9\u7ba1\u7406\u7cfb\u7d71 (CMS)<\/a><\/h3>\n<p>\u7528\u65bc\u7ba1\u7406\u5167\u5bb9\u7684 Web \u61c9\u7528\u7a0b\u5e8f\u3002<a href=\"\/docs\/glossary\/index#wordpress\">WordPress<\/a> \u662f\u6700\u53d7\u6b61\u8fce\u7684 CMS\uff0c\u70ba\u8d85\u904e 40% \u7684\u7db2\u7d61\u63d0\u4f9b\u652f\u6301\u3002<\/p>\n<h3 id=\"css\"><a id=\"css-css\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#css\">CSS<\/a><\/h3>\n<p>\u7528\u65bc\u63cf\u8ff0\u7db2\u9801\u5448\u73fe\u7684\u6a23\u5f0f\u8868\u8a9e\u8a00\u3002\u60a8\u53ef\u4ee5\u5728\u6b64 MDN Web \u6587\u6a94\u9801\u9762\u4e0a\u4e86\u89e3\u66f4\u591a\u4fe1\u606f\uff1a<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\">CSS\uff1a\u5c64\u758a\u6a23\u5f0f\u8868<\/a>\u3002<\/p>\n<h2 id=\"d\"><a id=\"d-d\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#d\">D<\/a><\/h2>\n<h3 id=\"%e8%a7%a3%e8%80%a6\"><a id=\"%E8%A7%A3%E8%80%A6decoupled\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#decoupled\">\u89e3\u8026<\/a><\/h3>\n<p>\u89e3\u8026\u63cf\u8ff0\u4e86\u4e0d\u540c\u95dc\u6ce8\u9ede\u7684\u5206\u96e2\u3002\u5728<a href=\"\/docs\/glossary\/index#headless-wordpress\">headless WordPress<\/a>\u67b6\u69cb\u4e2d\uff0c\u9019\u6700\u5e38\u898b\u7684\u610f\u601d\u662f\u5c07<a href=\"\/docs\/glossary\/index#frontend\">\u524d\u7aef<\/a>\u8207[\u5f8c\u7aef](\/docs\/glossary\/index #\u5f8c\u7aef\uff09\u3002\u9019\u8207\u50b3\u7d71\u7684 WordPress \u67b6\u69cb\u5f62\u6210\u5c0d\u6bd4\uff0c\u5728\u50b3\u7d71\u7684 WordPress \u67b6\u69cb\u4e2d\uff0c\u524d\u7aef\u548c\u5f8c\u7aef\u7dca\u5bc6\u8026\u5408\u4f75\u5b58\u5728\u65bc\u4e00\u500b\u7d71\u4e00\u7684\u4ee3\u78bc\u5eab\u4e2d\u3002<\/p>\n<h2 id=\"e\"><a id=\"e-e\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#e\">E<\/a><\/h2>\n<h2 id=\"f\"><a id=\"f-f\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#f\">F<\/a><\/h2>\n<h3 id=\"faust-js\"><a id=\"faust-js-faust-js\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#faust-js\">Faust.js<\/a><\/h3>\n<p><a href=\"https:\/\/faustjs.org\">Faust.js<\/a> \u662f <a href=\"\/docs\/glossary\/index#headless-wordpress\">headless WordPress<\/a> \u7684\u958b\u6e90 JavaScript \u6846\u67b6\u3002Faust.js \u5305\u542b\u4e00\u500b <a href=\"\/docs\/glossary\/index#wordpress\">WordPress<\/a> \u63d2\u4ef6\u3001\u4e00\u7d44 <a href=\"\/docs\/glossary\/index#npm\">npm<\/a> \u5305\uff0c\u4ee5\u53ca\u5e6b\u52a9\u60a8\u958b\u59cb\u69cb\u5efa\u7121\u982d WordPress \u7db2\u7ad9\u7684\u6307\u5357\u3002<\/p>\n<h3 id=\"%e5%89%8d%e7%ab%af\"><a id=\"%E5%89%8D%E7%AB%AF%E5%89%8D%E7%AB%AF\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#%E5%89%8D%E7%AB%AF\">\u524d\u7aef<\/a><\/h3>\n<p>\u5728\u5ba2\u6236\u7aef\uff08\u5728\u7ad9\u9ede\u8a2a\u554f\u8005\u7684 Web \u700f\u89bd\u5668\u4e2d\uff09\u904b\u884c\u7684\u4ee3\u78bc\uff0c\u800c\u4e0d\u662f\u5728\u670d\u52d9\u5668\u7aef\uff08\u5728 Web \u670d\u52d9\u5668\u4e0a\uff09\u904b\u884c\u7684\u4ee3\u78bc\u3002<\/p>\n<h2 id=\"g\"><a id=\"g-g\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#g\">G<\/a><\/h2>\n<h3 id=\"%e8%93%8b%e8%8c%a8%e6%af%94%ef%bc%88%e8%93%8b%e8%8c%a8%e6%af%94%ef%bc%89\"><a id=\"%E8%93%8B%E8%8C%A8%E6%AF%94%EF%BC%88%E8%93%8B%E8%8C%A8%E6%AF%94%EF%BC%89\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>[\u84cb\u8328\u6bd4]\uff08#\u84cb\u8328\u6bd4\uff09<\/h3>\n<p><a href=\"https:\/\/www.gatsbyjs.com\">Gatsby<\/a> \u662f\u4e00\u500b\u958b\u6e90 <a href=\"\/docs\/glossary\/index#javascript\">JavaScript<\/a> \u958b\u767c\u6846\u67b6\uff0c\u69cb\u5efa\u5728 <a href=\"\/docs\/glossary\/index\">Node.js<\/a> \u4e4b\u4e0a#node) \u548c <a href=\"https:\/\/reactjs.org\">React<\/a> \u7528\u65bc\u69cb\u5efa Web \u61c9\u7528\u7a0b\u5e8f\u3002<\/p>\n<h3 id=\"gqty\"><a id=\"gqty-gqty\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#gqty\">GQty<\/a><\/h3>\n<p><a href=\"https:\/\/gqty.dev\">GQty<\/a> \u662f\u4e00\u500b\u57fa\u65bc\u4ee3\u7406\u7684 <a href=\"\/docs\/glossary\/index#graphql\">GraphQL<\/a> \u5ba2\u6236\u7aef\u3002<\/p>\n<h3 id=\"graphql\"><a id=\"graphql-graphql\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#graphql\">GraphQL<\/a><\/h3>\n<p>\u4e00\u7a2e\u958b\u6e90\u6578\u64da\u67e5\u8a62\u548c\u64cd\u4f5c\u8a9e\u8a00\u3002\u5728<a href=\"\/docs\/glossary\/index#headless-wordpress\">\u7121\u982d WordPress<\/a> \u67b6\u69cb\u4e2d\uff0cGraphQL \u901a\u5e38\u7528\u65bc\u70ba[\u524d\u7aef](\/docs\/glossary \/index#frontend) \u548c <a href=\"\/docs\/glossary\/index#backend\">backend<\/a> \u7528\u65bc\u76f8\u4e92\u901a\u4fe1\u3002<\/p>\n<h2 id=\"h\"><a id=\"h-h\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#h\">H<\/a><\/h2>\n<h3 id=\"html\"><a id=\"html-html\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#html\">HTML<\/a><\/h3>\n<p>\u7528\u65bc\u5b9a\u7fa9\u7db2\u9801\u7d50\u69cb\u7684\u6a19\u8a18\u8a9e\u8a00\u3002\u60a8\u53ef\u4ee5\u5728\u6b64 MDN Web \u6587\u6a94\u9801\u9762\u4e0a\u4e86\u89e3\u66f4\u591a\u4fe1\u606f\uff1a<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\">HTML\uff1a\u8d85\u6587\u672c\u6a19\u8a18\u8a9e\u8a00<\/a>\u3002<\/p>\n<h3 id=\"%e7%84%a1%e9%a0%ad-cms\"><a id=\"%E7%84%A1%E9%A0%ADcms-headless-cms\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#headless-cms\">\u7121\u982d CMS<\/a><\/h3>\n<p>\u4e00\u500b<a href=\"\/docs\/glossary\/index#content-management-system-cms\">\u5167\u5bb9\u7ba1\u7406\u7cfb\u7d71<\/a>\uff0c\u5176\u4e2d<a href=\"\/docs\/glossary\/index#backend\">\u5f8c\u7aef<\/a> \u5167\u5bb9\u5b58\u5132\u5eab\uff08\u201c\u6b63\u6587\u201d\uff09<a href=\"\/docs\/glossary\/index#decoupled\">\u89e3\u8026<\/a> \u4f86\u81ea <a href=\"\/docs\/glossary\/index#frontend\">frontend<\/a> \u8868\u793a\u5c64\uff08\u201chead\u201d\uff09\u3002<\/p>\n<h3 id=\"%e7%84%a1%e9%a0%ad-wordpress\"><a id=\"%E7%84%A1%E9%A0%ADwordpress-headless-wordpress\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#headless-wordpress\">\u7121\u982d WordPress<\/a><\/h3>\n<p><a href=\"\/docs\/glossary\/index#wordpress\">WordPress<\/a> <a href=\"\/docs\/glossary\/index#backend\">\u5f8c\u7aef<\/a> \u8207 [\u524d\u7aef] <a href=\"\/docs\/glossary\/index#decoupled\">\u89e3\u8026<\/a> \u7684\u7db2\u7ad9\u67b6\u69cb(\/docs\/glossary\/index#frontend) \u61c9\u7528\u7a0b\u5e8f\u3002WordPress \u5f8c\u7aef\u548c\u524d\u7aef\u61c9\u7528\u7a0b\u5e8f\u901a\u5e38\u901a\u904e <a href=\"https:\/\/developer.wordpress.org\/rest-api\">WordPress REST API<\/a> \u6216 <a href=\"\/docs\/glossary\/index#wpgraphql\">WPGraphQL<\/a> \u76f8\u4e92\u901a\u4fe1\u3002<\/p>\n<h2 id=\"j\"><a id=\"j-j\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#j\">J<\/a><\/h2>\n<h3 id=\"jamstack%ef%bc%88jamstack%ef%bc%89\"><a id=\"jamstack%EF%BC%88-jamstack%EF%BC%89\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>[Jamstack]\uff08#jamstack\uff09<\/h3>\n<p>Jamstack\uff08\u6216\u201cJAMstack\u201d\uff09\u662f\u6307\u4f7f\u7528 <a href=\"\/docs\/glossary\/index#javascript\">JavaScript<\/a>\u3001<a href=\"\/docs\/glossary\/index#api\">API<\/a> \u548c [HTML](\/docs\/\u8a5e\u5f59\u8868\/\u7d22\u5f15#html\uff09\u3002\u4f86\u81ea <a href=\"https:\/\/jamstack.org\">JamStack.org<\/a>\uff1a\u201c\u9019\u662f\u4e00\u7a2e\u69cb\u5efa\u7db2\u7ad9\u548c\u61c9\u7528\u7a0b\u5e8f\u7684\u65b0\u65b9\u6cd5\uff0c\u53ef\u63d0\u4f9b\u66f4\u597d\u7684\u6027\u80fd\u3001\u66f4\u9ad8\u7684\u5b89\u5168\u6027\u3001\u66f4\u4f4e\u7684\u64f4\u5c55\u6210\u672c\u548c\u66f4\u597d\u7684\u958b\u767c\u4eba\u54e1\u9ad4\u9a57\u3002\u201d<\/p>\n<h3 id=\"javascript\"><a id=\"javascript-javascript\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#javascript\">JavaScript<\/a><\/h3>\n<p>JavaScript\uff0c\u901a\u5e38\u7e2e\u5beb\u70ba\u201cJS\u201d\uff0c\u662f\u4e00\u7a2e\u7de8\u7a0b\u8a9e\u8a00\uff0c\u8207 <a href=\"\/docs\/glossary\/index#html\">HTML<\/a> \u548c <a href=\"\/docs\/glossary\/index#css\">CSS<\/a> \u4e26\u5217\uff0c\u662f\u7db2\u7d61\u7684\u6838\u5fc3\u6280\u8853\u4e4b\u4e00). \u5b83\u53ef\u7528\u65bc\u4f7f\u7db2\u9801\u4ee5\u5404\u7a2e\u65b9\u5f0f\u8207\u7db2\u7ad9\u8a2a\u554f\u8005\u4ea4\u4e92\u3002\u96a8\u8457 <a href=\"\/docs\/glossary\/index#node\">Node.js<\/a> \u7684\u51fa\u73fe\uff0c\u9664\u4e86\u5ba2\u6236\u7aef\uff08\u5728\u7db2\u7d61\u700f\u89bd\u5668\u4e2d\uff09\u4e4b\u5916\uff0c\u9084\u53ef\u4ee5\u5728\u670d\u52d9\u5668\u7aef\u904b\u884c JavaScript\u3002<\/p>\n<h3 id=\"jsx\"><a id=\"jsx-jsx\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#jsx\">JSX<\/a><\/h3>\n<p><a href=\"\/docs\/glossary\/index#javascript\">JavaScript<\/a> \u7684\u8a9e\u6cd5\u64f4\u5c55\uff0c\u53ef\u4ee5\u66f4\u8f15\u9b06\u5730\u7de8\u5beb\u6700\u7d42\u7de8\u8b6f\u70ba <a href=\"\/docs\/glossary\/index#html\">HTML<\/a> \u7684\u4ee3\u78bc\u3002JSX \u6700\u5e38\u7528\u65bc <a href=\"https:\/\/reactjs.org\">React<\/a> \u61c9\u7528\u7a0b\u5e8f\u3002\u60a8\u53ef\u4ee5\u901a\u904e\u95b1\u8b80\u6b64 React \u6587\u6a94\u9801\u9762\u4e86\u89e3\u66f4\u591a\u4fe1\u606f\uff1a<a href=\"https:\/\/reactjs.org\/docs\/introducing-jsx.html\">Introducing JSX<\/a>\u3002<\/p>\n<h2 id=\"n\"><a id=\"n-n\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#n\">N<\/a><\/h2>\n<h3 id=\"next-js\"><a id=\"next-js-next-js\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#next-js\">Next.js<\/a><\/h3>\n<p>\u57fa\u65bc <a href=\"\/docs\/glossary\/index#node\">Node.js<\/a> \u548c <a href=\"https:\/\/reactjs.org\">React<\/a> \u69cb\u5efa\u7684\u958b\u6e90 <a href=\"\/docs\/glossary\/index#javascript\">JavaScript<\/a> \u958b\u767c\u6846\u67b6) \u7528\u65bc\u69cb\u5efa Web \u61c9\u7528\u7a0b\u5e8f\u3002<\/p>\n<h3 id=\"%e7%af%80%e9%bb%9e-js\"><a id=\"%E7%AF%80%E9%BB%9Ejs-node-js\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#node-js\">\u7bc0\u9ede.js<\/a><\/h3>\n<p><a href=\"https:\/\/nodejs.org\/en\">Node.js<\/a> \u662f\u4e00\u500b\u958b\u6e90\u7684 <a href=\"\/docs\/glossary\/index#javascript\">JavaScript<\/a> <a href=\"\/docs\/glossary\/index#runtime\">runtime<\/a> \u74b0\u5883\uff0c\u901a\u5e38\u7528\u65bc\u5728 Web \u670d\u52d9\u5668\u4e0a\u57f7\u884c JavaScript \u4ee3\u78bc\u3002<\/p>\n<h3 id=\"npm\"><a id=\"npm-npm\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#npm\">npm<\/a><\/h3>\n<p><a href=\"https:\/\/www.npmjs.com\">npm<\/a> \u662f\u7531 npm, Inc. \u7dad\u8b77\u7684 <a href=\"\/docs\/glossary\/index#javascript\">JavaScript<\/a> \u7de8\u7a0b\u8a9e\u8a00\u7684\u5305\u7ba1\u7406\u5668\u3002\u5118\u7ba1\u201cnpm\u201d\u4ee3\u8868\u201c\u7bc0\u9ede\u5305\u7ba1\u7406\u5668\u201d\uff0c\u5b83\u901a\u5e38\u7528\u4f5c\u5ba2\u6236\u7aef\uff08\u5728\u7db2\u7d61\u700f\u89bd\u5668\u4e2d\u57f7\u884c\u7684 JavaScript\uff09\u548c\u670d\u52d9\u5668\u7aef\uff08<a href=\"\/docs\/glossary\/index#node\">Node.js<\/a> \u61c9\u7528\u7a0b\u5e8f\uff09JavaScript \u7684\u5305\u7ba1\u7406\u5668\u9805\u76ee\u3002<\/p>\n<h3 id=\"nuxt-js\"><a id=\"nuxt-js-nuxt-js\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#nuxt-js\">Nuxt.js<\/a><\/h3>\n<p>\u57fa\u65bc <a href=\"\/docs\/glossary\/index#node\">Node.js<\/a> \u548c <a href=\"https:\/\/vuejs.org\">Vue<\/a> \u69cb\u5efa\u7684\u958b\u6e90 <a href=\"\/docs\/glossary\/index#javascript\">JavaScript<\/a> \u958b\u767c\u6846\u67b6) \u7528\u65bc\u69cb\u5efa Web \u61c9\u7528\u7a0b\u5e8f\u3002<\/p>\n<h2 id=\"o\"><a id=\"o-o\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#o\">O<\/a><\/h2>\n<h2 id=\"p\"><a id=\"p-p\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#p\">P<\/a><\/h2>\n<h3 id=\"%e5%a4%9a%e9%82%8a%e5%bd%a2\"><a id=\"%E5%A4%9A%E9%82%8A%E5%BD%A2%E5%A4%9A%E9%82%8A%E5%BD%A2\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#%E5%A4%9A%E9%82%8A%E5%BD%A2\">\u591a\u908a\u5f62<\/a><\/h3>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/polylang\">Polylang<\/a> \u662f\u4e00\u500b WordPress \u63d2\u4ef6\uff0c\u652f\u6301\u7ffb\u8b6f\u5e16\u5b50\u3001\u9801\u9762\u3001\u5a92\u9ad4\u3001\u985e\u5225\u3001\u5e16\u5b50\u6a19\u7c64\u3001\u81ea\u5b9a\u7fa9\u5e16\u5b50\u985e\u578b\u548c\u5206\u985e\u6cd5\u3001RSS \u63d0\u8981\u7684\u591a\u8a9e\u8a00\u529f\u80fd\uff1b\u652f\u6301 RTL \u8173\u672c\u3002<\/p>\n<h2 id=\"%e5%95%8f\"><a id=\"%E5%95%8Fq\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#q\">\u554f<\/a><\/h2>\n<h3 id=\"%e6%9f%a5%e8%a9%a2\"><a id=\"%E6%9F%A5%E8%A9%A2query\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#query\">\u67e5\u8a62<\/a><\/h3>\n<p>\u4fe1\u606f\u8acb\u6c42\u3002\u5728 Web \u61c9\u7528\u7a0b\u5e8f\u7684\u4e0a\u4e0b\u6587\u4e2d\uff0c\u201c\u67e5\u8a62\u201d\u901a\u5e38\u6307\u7684\u662f\u5f9e\u6578\u64da\u5eab\u4e2d\u7372\u53d6\u6578\u64da\uff0c\u6216\u901a\u904e [HTTP](https:\/ \/en.wikipedia.org\/wiki\/Hypertext_Transfer_Protocol) \u8acb\u6c42\u3002<\/p>\n<h2 id=\"r\"><a id=\"r-r\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#r\">R<\/a><\/h2>\n<h3 id=\"%e5%8f%8d%e6%87%89\"><a id=\"%E5%8F%8D%E6%87%89%E5%8F%8D%E6%87%89\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#%E5%8F%8D%E6%87%89\">\u53cd\u61c9<\/a><\/h3>\n<p><a href=\"https:\/\/reactjs.org\">React<\/a> \u662f\u4e00\u500b\u7528\u65bc\u69cb\u5efa Web \u61c9\u7528\u7a0b\u5e8f\u7684\u958b\u6e90 <a href=\"\/docs\/glossary\/index#javascript\">JavaScript<\/a> \u958b\u767c\u6846\u67b6\u3002<\/p>\n<h3 id=\"%e9%81%8b%e8%a1%8c%e6%99%82\"><a id=\"%E9%81%8B%E8%A1%8C%E6%99%82runtime\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#runtime\">\u904b\u884c\u6642<\/a><\/h3>\n<p>\u57f7\u884c\u8a08\u7b97\u6a5f\u7a0b\u5e8f\u7684\u6642\u9593\u6bb5\u3002<\/p>\n<h2 id=\"s\"><a id=\"s-s\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#s\">S<\/a><\/h2>\n<h3 id=\"%e6%9e%b6%e6%a7%8b\"><a id=\"%E6%9E%B6%E6%A7%8B%E6%9E%B6%E6%A7%8B\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#%E6%9E%B6%E6%A7%8B\">\u67b6\u69cb<\/a><\/h3>\n<p>\u6578\u64da\u5eab\u6216 <a href=\"\/docs\/glossary\/index#api\">API<\/a> \u7684\u7d44\u7e54\u6216\u7d50\u69cb\u3002<\/p>\n<h3 id=\"%e8%8b%97%e6%a2%9d%ef%bc%88%e8%8b%97%e6%a2%9d%ef%bc%89\"><a id=\"%E8%8B%97%E6%A2%9D%EF%BC%88%E8%8B%97%E6%A2%9D%EF%BC%89\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>[\u82d7\u689d]\uff08#\u82d7\u689d\uff09<\/h3>\n<p><a href=\"https:\/\/svelte.dev\">Svelte<\/a> \u662f\u4e00\u500b\u958b\u6e90 <a href=\"\/docs\/glossary\/index#javascript\">JavaScript<\/a> \u7de8\u8b6f\u5668\u3002Svelte \u5c07\u50b3\u7d71\u4e0a\u5728\u700f\u89bd\u5668\u4e2d\u5b8c\u6210\u7684\u5de5\u4f5c\u8f49\u79fb\u5230\u69cb\u5efa\u61c9\u7528\u7a0b\u5e8f\u6642\u767c\u751f\u7684\u7de8\u8b6f\u6b65\u9a5f\u3002<\/p>\n<h3 id=\"sveltekit%ef%bc%88sveltekit%ef%bc%89\"><a id=\"sveltekit%EF%BC%88-sveltekit%EF%BC%89\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>[SvelteKit]\uff08#sveltekit\uff09<\/h3>\n<p>\u57fa\u65bc <a href=\"\/docs\/glossary\/index#node\">Node.js<\/a> \u548c <a href=\"\/docs\/glossary\/index#\">Svelte<\/a> \u69cb\u5efa\u7684\u958b\u6e90 <a href=\"\/docs\/glossary\/index#javascript\">JavaScript<\/a> \u958b\u767c\u6846\u67b6svelte) \u7528\u65bc\u69cb\u5efa Web \u61c9\u7528\u7a0b\u5e8f\u3002<\/p>\n<h2 id=\"v\"><a id=\"v-v\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#v\">V<\/a><\/h2>\n<h3 id=\"vue-js\"><a id=\"vue-js-vue-js\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#vue-js\">Vue.js<\/a><\/h3>\n<p><a href=\"https:\/\/vuejs.org\">Vue<\/a> \u662f\u4e00\u500b\u7528\u65bc\u69cb\u5efa\u7528\u6236\u754c\u9762\u548c\u55ae\u9801\u61c9\u7528\u7a0b\u5e8f\u7684\u958b\u6e90<a href=\"\/docs\/glossary\/index#frontend\">\u524d\u7aef<\/a> \u6846\u67b6\u3002<\/p>\n<h2 id=\"w\"><a id=\"w-w\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#w\">W<\/a><\/h2>\n<h3 id=\"wordpress\"><a id=\"wordpress-wordpress\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#wordpress\">WordPress<\/a><\/h3>\n<p><a href=\"https:\/\/wordpress.org\">WordPress<\/a> \u662f\u4e00\u500b\u958b\u6e90\u5167\u5bb9\u7ba1\u7406\u7cfb\u7d71\u3002WordPress \u70ba\u6d41\u91cf\u6392\u540d\u524d 100 \u842c\u7684\u7db2\u7ad9\u4e2d\u7684 40% \u4ee5\u4e0a\u63d0\u4f9b\u652f\u6301\u3002<\/p>\n<h3 id=\"wpgraphql\"><a id=\"wpgraphql-wpgraphql\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a><a href=\"#wpgraphql\">WPGraphQL<\/a><\/h3>\n<p><a href=\"https:\/\/www.wpgraphql.com\">WPGraphQL<\/a> \u662f\u4e00\u500b\u958b\u6e90 <a href=\"\/docs\/glossary\/index#wordpress\">WordPress<\/a> \u63d2\u4ef6\uff0c\u63d0\u4f9b\u53ef\u64f4\u5c55\u7684 <a href=\"\/docs\/glossary\/index#graphql\">GraphQL<\/a> <a href=\"\/docs\/glossary\/index#schema\">schema<\/a> \u548c <a href=\"\/docs\/glossary\/index#api\">API<\/a> \u9069\u7528\u65bc\u4efb\u4f55 WordPress \u7ad9\u9ede\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"======== \u6b64\u9801\u9762\u63d0\u4f9b\u8207\u7121\u982d &hellip;\n","protected":false},"author":1,"featured_media":4243,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,536,274],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.gogoshark.com\/blog\/wp-json\/wp\/v2\/posts\/14614"}],"collection":[{"href":"https:\/\/www.gogoshark.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gogoshark.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gogoshark.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gogoshark.com\/blog\/wp-json\/wp\/v2\/comments?post=14614"}],"version-history":[{"count":0,"href":"https:\/\/www.gogoshark.com\/blog\/wp-json\/wp\/v2\/posts\/14614\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gogoshark.com\/blog\/wp-json\/wp\/v2\/media\/4158"}],"wp:attachment":[{"href":"https:\/\/www.gogoshark.com\/blog\/wp-json\/wp\/v2\/media?parent=14614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gogoshark.com\/blog\/wp-json\/wp\/v2\/categories?post=14614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gogoshark.com\/blog\/wp-json\/wp\/v2\/tags?post=14614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}