{"id":2159,"date":"2025-03-01T10:25:19","date_gmt":"2025-03-01T02:25:19","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=2159"},"modified":"2025-03-01T10:25:19","modified_gmt":"2025-03-01T02:25:19","slug":"javascript-%e5%ba%93%ef%bc%9ajquery%e3%80%81prototype-%e5%92%8c-mootools","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/03\/01\/javascript-%e5%ba%93%ef%bc%9ajquery%e3%80%81prototype-%e5%92%8c-mootools\/","title":{"rendered":"JavaScript \u5e93\uff1ajQuery\u3001Prototype \u548c MooTools"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5728 JavaScript \u7684\u5386\u53f2\u4e0a\uff0c<strong>jQuery<\/strong>\u3001<strong>Prototype<\/strong> \u548c <strong>MooTools<\/strong> \u662f\u4e09\u5927\u65e9\u671f\u975e\u5e38\u6d41\u884c\u7684\u5e93\u3002\u5b83\u4eec\u4e3a\u5f00\u53d1\u8005\u7b80\u5316\u4e86\u6d4f\u89c8\u5668\u7684\u517c\u5bb9\u6027\u95ee\u9898\u3001DOM \u64cd\u4f5c\u3001\u4e8b\u4ef6\u5904\u7406\u548c AJAX \u8bf7\u6c42\u7b49\u4efb\u52a1\uff0c\u63a8\u52a8\u4e86\u524d\u7aef\u5f00\u53d1\u7684\u8fdb\u6b65\u3002\u5c3d\u7ba1\u5728\u73b0\u4ee3\u524d\u7aef\u5f00\u53d1\u4e2d\uff0c\u8fd9\u4e9b\u5e93\u7684\u4f7f\u7528\u9010\u6e10\u51cf\u5c11\uff0c\u4f46\u5b83\u4eec\u5728 JavaScript \u5e93\u7684\u6f14\u5316\u8fc7\u7a0b\u4e2d\u5360\u6709\u91cd\u8981\u4f4d\u7f6e\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e09\u5927 JavaScript \u5e93\u7684\u7279\u70b9\u3001\u4f7f\u7528\u65b9\u5f0f\u53ca\u5176\u5e94\u7528\u573a\u666f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong>jQuery<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u7b80\u4ecb\uff1a<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>jQuery<\/strong> \u662f\u6700\u53d7\u6b22\u8fce\u7684 JavaScript \u5e93\u4e4b\u4e00\uff0c\u8bde\u751f\u4e8e 2006 \u5e74\uff0c\u65e8\u5728\u7b80\u5316 JavaScript \u5f00\u53d1\uff0c\u5c24\u5176\u662f DOM \u64cd\u4f5c\u3001\u4e8b\u4ef6\u5904\u7406\u3001\u52a8\u753b\u6548\u679c\u548c AJAX \u8bf7\u6c42\u7b49\u3002\u5c3d\u7ba1\u73b0\u4ee3\u6d4f\u89c8\u5668\u5df2\u7ecf\u589e\u5f3a\u4e86\u5bf9\u539f\u751f JavaScript \u529f\u80fd\u7684\u652f\u6301\uff0c\u4f46 jQuery \u4ecd\u7136\u5728\u8bb8\u591a\u8001\u65e7\u9879\u76ee\u4e2d\u5e7f\u6cdb\u4f7f\u7528\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u7279\u70b9\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u7b80\u6d01\u7684 DOM \u64cd\u4f5c<\/strong>\uff1a\u901a\u8fc7 <code>$()<\/code> \u9009\u62e9\u5668\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5feb\u901f\u8bbf\u95ee\u548c\u64cd\u4f5c DOM \u5143\u7d20\u3002<\/li>\n\n\n\n<li><strong>\u8de8\u6d4f\u89c8\u5668\u517c\u5bb9\u6027<\/strong>\uff1ajQuery \u81ea\u52a8\u5904\u7406\u4e0d\u540c\u6d4f\u89c8\u5668\u4e4b\u95f4\u7684\u517c\u5bb9\u95ee\u9898\uff0c\u5c24\u5176\u662f\u5728\u8001\u65e7\u6d4f\u89c8\u5668\u4e0a\u3002<\/li>\n\n\n\n<li><strong>\u94fe\u5f0f\u64cd\u4f5c<\/strong>\uff1a\u652f\u6301\u94fe\u5f0f\u8c03\u7528\uff0c\u4f7f\u5f97\u591a\u4e2a DOM \u64cd\u4f5c\u53ef\u4ee5\u5728\u540c\u4e00\u8bed\u53e5\u4e2d\u5b8c\u6210\u3002<\/li>\n\n\n\n<li><strong>\u52a8\u753b\u548c\u6548\u679c<\/strong>\uff1a\u5185\u7f6e\u7684\u52a8\u753b\u6548\u679c\u51fd\u6570\uff0c\u4f7f\u5f97\u7f51\u9875\u4ea4\u4e92\u53d8\u5f97\u7b80\u5355\u76f4\u89c2\u3002<\/li>\n\n\n\n<li><strong>AJAX \u652f\u6301<\/strong>\uff1a\u7b80\u5316\u4e86\u5f02\u6b65\u8bf7\u6c42\u7684\u64cd\u4f5c\uff0c\u652f\u6301\u4e0e\u670d\u52a1\u5668\u7684\u6570\u636e\u4ea4\u6362\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!-- \u5f15\u5165 jQuery --&gt;\n&lt;script src=\"https:\/\/code.jquery.com\/jquery-3.6.0.min.js\"&gt;&lt;\/script&gt;\n\n&lt;script&gt;\n$(document).ready(function() {\n    \/\/ \u70b9\u51fb\u6309\u94ae\u65f6\uff0c\u663e\u793a\u5185\u5bb9\n    $('#button').click(function() {\n        $('#content').fadeIn();\n    });\n});\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u4f7f\u7528\u573a\u666f\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u7b80\u5316 DOM \u64cd\u4f5c\u548c\u4e8b\u4ef6\u7ed1\u5b9a<\/strong>\uff1a\u901a\u8fc7\u7b80\u6d01\u7684\u8bed\u6cd5\u548c\u9ad8\u6548\u7684\u9009\u62e9\u5668\uff0c\u5feb\u901f\u8fdb\u884c DOM \u64cd\u4f5c\u3002<\/li>\n\n\n\n<li><strong>\u52a8\u753b\u548c\u4ea4\u4e92\u6548\u679c<\/strong>\uff1a\u5185\u7f6e\u52a8\u753b\u548c\u8fc7\u6e21\u6548\u679c\u8ba9\u5f00\u53d1\u8005\u8f7b\u677e\u5b9e\u73b0\u590d\u6742\u7684\u4ea4\u4e92\u3002<\/li>\n\n\n\n<li><strong>AJAX \u8bf7\u6c42<\/strong>\uff1a\u901a\u8fc7\u7b80\u6d01\u7684 API \u53d1\u8d77\u548c\u5904\u7406\u5f02\u6b65\u8bf7\u6c42\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong>Prototype<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u7b80\u4ecb\uff1a<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prototype<\/strong> \u662f\u65e9\u671f\u7684 JavaScript \u5e93\u4e4b\u4e00\uff0c\u76ee\u7684\u662f\u589e\u5f3a JavaScript \u672c\u8eab\u7684\u529f\u80fd\uff0c\u7279\u522b\u662f\u6269\u5c55\u4e86\u539f\u751f\u5bf9\u8c61\uff08\u5982\u6570\u7ec4\u3001\u5b57\u7b26\u4e32\u3001\u5bf9\u8c61\u7b49\uff09\u7684\u65b9\u6cd5\uff0c\u7b80\u5316\u4e86\u4ee3\u7801\u7f16\u5199\u3002Prototype \u5728 2000 \u5e74\u4ee3\u672b\u81f3 2010 \u5e74\u4ee3\u521d\u975e\u5e38\u6d41\u884c\uff0c\u5c24\u5176\u662f\u4e0e Ruby on Rails \u7b49\u6846\u67b6\u7ed3\u5408\u65f6\uff0c\u6210\u4e3a\u4e86\u524d\u7aef\u5f00\u53d1\u7684\u91cd\u8981\u5de5\u5177\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u7279\u70b9\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u589e\u5f3a\u539f\u751f\u5bf9\u8c61<\/strong>\uff1aPrototype \u4e3a\u539f\u751f JavaScript \u5bf9\u8c61\u6dfb\u52a0\u4e86\u8bb8\u591a\u5b9e\u7528\u65b9\u6cd5\uff0c\u4f8b\u5982\u5bf9\u6570\u7ec4\u3001\u5b57\u7b26\u4e32\u548c\u5bf9\u8c61\u7684\u6269\u5c55\u3002<\/li>\n\n\n\n<li><strong>Ajax \u652f\u6301<\/strong>\uff1a\u63d0\u4f9b\u4e86\u5185\u7f6e\u7684 Ajax \u529f\u80fd\uff0c\u7b80\u5316\u4e86\u5f02\u6b65\u8bf7\u6c42\u7684\u7f16\u5199\u3002<\/li>\n\n\n\n<li><strong>\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b<\/strong>\uff1a\u901a\u8fc7 <code>Class.create()<\/code> \u7b49\u5de5\u5177\u7b80\u5316\u4e86\u7c7b\u7684\u5b9a\u4e49\u548c\u7ee7\u627f\uff0c\u652f\u6301\u66f4\u52a0\u9762\u5411\u5bf9\u8c61\u7684\u5f00\u53d1\u98ce\u683c\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!-- \u5f15\u5165 Prototype --&gt;\n&lt;script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/prototype\/1.7.3\/prototype.min.js\"&gt;&lt;\/script&gt;\n\n&lt;script&gt;\n  \/\/ \u6570\u7ec4\u7684\u6269\u5c55\u65b9\u6cd5\n  var arr = &#91;1, 2, 3, 4];\n  arr.each(function(item) {\n      console.log(item);\n  });\n\n  \/\/ Ajax \u8bf7\u6c42\n  new Ajax.Request('\/data', {\n      method: 'get',\n      onSuccess: function(response) {\n          alert(response.responseText);\n      }\n  });\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u4f7f\u7528\u573a\u666f\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b<\/strong>\uff1aPrototype \u63d0\u4f9b\u4e86\u66f4\u4e3a\u7b80\u6d01\u7684\u7c7b\u5b9a\u4e49\u548c\u7ee7\u627f\u673a\u5236\uff0c\u9002\u5408\u9762\u5411\u5bf9\u8c61\u7684\u5f00\u53d1\u3002<\/li>\n\n\n\n<li><strong>\u589e\u5f3a\u6570\u7ec4\u548c\u5b57\u7b26\u4e32\u64cd\u4f5c<\/strong>\uff1a\u6269\u5c55\u4e86 JavaScript \u7684\u539f\u751f\u529f\u80fd\uff0c\u63d0\u5347\u4e86\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7b80\u6d01\u6027\u3002<\/li>\n\n\n\n<li><strong>\u7b80\u5316 Ajax \u64cd\u4f5c<\/strong>\uff1a\u5185\u7f6e\u7684 Ajax \u652f\u6301\u4f7f\u5f97\u53d1\u9001\u5f02\u6b65\u8bf7\u6c42\u53d8\u5f97\u66f4\u4e3a\u7b80\u4fbf\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">3. <strong>MooTools<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u7b80\u4ecb\uff1a<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>MooTools<\/strong> \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u3001\u529f\u80fd\u4e30\u5bcc\u7684 JavaScript \u6846\u67b6\uff0c\u65e8\u5728\u589e\u5f3a JavaScript \u7684\u529f\u80fd\u5e76\u63d0\u4f9b\u5bf9 DOM \u64cd\u4f5c\u548c\u4e8b\u4ef6\u5904\u7406\u7684\u652f\u6301\u3002\u5b83\u5728 2000 \u5e74\u4ee3\u4e2d\u671f\u5230\u540e\u671f\u975e\u5e38\u6d41\u884c\uff0c\u5c24\u5176\u662f\u5728 Web 2.0 \u9879\u76ee\u4e2d\uff0c\u6ce8\u91cd\u4ee3\u7801\u7684\u7b80\u6d01\u6027\u548c\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u7279\u70b9\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b<\/strong>\uff1aMooTools \u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u7c7b\u652f\u6301\uff0c\u4f7f\u5f97 JavaScript \u7f16\u7a0b\u66f4\u52a0\u9762\u5411\u5bf9\u8c61\uff0c\u652f\u6301\u7c7b\u7684\u7ee7\u627f\u548c\u591a\u6001\u3002<\/li>\n\n\n\n<li><strong>DOM \u64cd\u4f5c<\/strong>\uff1a\u63d0\u4f9b\u4e86\u7b80\u6d01\u800c\u73b0\u4ee3\u7684 DOM \u64cd\u4f5c\u65b9\u6cd5\uff0c\u5e38\u4e0e jQuery \u6bd4\u8f83\u3002<\/li>\n\n\n\n<li><strong>AJAX \u652f\u6301<\/strong>\uff1aMooTools \u4e5f\u63d0\u4f9b\u4e86\u7b80\u5316\u7684 Ajax API\uff0c\u652f\u6301\u5feb\u901f\u7684\u5f02\u6b65\u8bf7\u6c42\u3002<\/li>\n\n\n\n<li><strong>\u8f7b\u91cf\u7ea7\u548c\u7075\u6d3b<\/strong>\uff1aMooTools \u7684\u6838\u5fc3\u5e93\u5f88\u5c0f\uff0c\u9002\u5408\u9700\u8981\u7cbe\u7b80\u4ee3\u7801\u7684\u9879\u76ee\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b\uff1a<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!-- \u5f15\u5165 MooTools --&gt;\n&lt;script src=\"https:\/\/cdn.jsdelivr.net\/npm\/mootools@1.6.0\/dist\/mootools.min.js\"&gt;&lt;\/script&gt;\n\n&lt;script&gt;\n  \/\/ \u521b\u5efa\u4e00\u4e2a\u7c7b\u5e76\u7ee7\u627f\n  var MyClass = new Class({\n      initialize: function(name) {\n          this.name = name;\n      },\n      greet: function() {\n          alert(\"Hello, \" + this.name);\n      }\n  });\n\n  var instance = new MyClass('MooTools');\n  instance.greet(); \/\/ Hello, MooTools\n\n  \/\/ Ajax \u8bf7\u6c42\n  new Request({\n      url: '\/data',\n      onSuccess: function(response) {\n          alert(response);\n      }\n  }).get();\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u4f7f\u7528\u573a\u666f\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b<\/strong>\uff1a\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u7c7b\u548c\u7ee7\u627f\u529f\u80fd\uff0c\u9002\u5408\u9700\u8981\u9762\u5411\u5bf9\u8c61\u5f00\u53d1\u7684\u9879\u76ee\u3002<\/li>\n\n\n\n<li><strong>\u7b80\u5316 DOM \u64cd\u4f5c<\/strong>\uff1a\u901a\u8fc7 MooTools \u63d0\u4f9b\u7684 DOM \u64cd\u4f5c\u51fd\u6570\uff0c\u4f7f\u5f97\u5f00\u53d1\u8005\u80fd\u591f\u5feb\u901f\u3001\u7075\u6d3b\u5730\u64cd\u4f5c\u9875\u9762\u5143\u7d20\u3002<\/li>\n\n\n\n<li><strong>AJAX \u8bf7\u6c42<\/strong>\uff1a\u901a\u8fc7\u7b80\u6d01\u7684 API \u5904\u7406\u5f02\u6b65\u8bf7\u6c42\uff0c\u51cf\u5c11\u4e86\u7e41\u7410\u7684\u56de\u8c03\u4ee3\u7801\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u603b\u7ed3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>jQuery<\/strong>\u3001<strong>Prototype<\/strong> \u548c <strong>MooTools<\/strong> \u90fd\u662f\u63a8\u52a8 JavaScript \u53d1\u5c55\u548c\u666e\u53ca\u7684\u91cd\u8981\u5e93\uff0c\u5c24\u5176\u662f\u5728\u524d\u7aef\u5f00\u53d1\u7684\u65e9\u671f\u9636\u6bb5\uff0c\u5b83\u4eec\u5927\u5927\u7b80\u5316\u4e86\u8de8\u6d4f\u89c8\u5668\u517c\u5bb9\u6027\u95ee\u9898\u548c\u5e38\u89c1\u7684\u64cd\u4f5c\u4efb\u52a1\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>jQuery<\/strong> \u6700\u4e3a\u901a\u7528\uff0c\u7b80\u5316\u4e86 DOM \u64cd\u4f5c\u3001\u4e8b\u4ef6\u7ed1\u5b9a\u548c\u52a8\u753b\u6548\u679c\uff0c\u9002\u5408\u5927\u591a\u6570\u524d\u7aef\u5f00\u53d1\u9879\u76ee\u3002<\/li>\n\n\n\n<li><strong>Prototype<\/strong> \u5f3a\u8c03\u589e\u5f3a JavaScript \u539f\u751f\u5bf9\u8c61\u7684\u529f\u80fd\uff0c\u63d0\u4f9b\u4e86\u9762\u5411\u5bf9\u8c61\u7684\u7f16\u7a0b\u652f\u6301\uff0c\u5e76\u4e14\u5728\u65e9\u671f\u4e0e Ruby on Rails \u7b49\u6846\u67b6\u7ed3\u5408\u5f97\u5f88\u597d\u3002<\/li>\n\n\n\n<li><strong>MooTools<\/strong> \u4e5f\u5f3a\u8c03\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\uff0c\u4f46\u5176\u4ee3\u7801\u66f4\u4e3a\u7cbe\u7b80\u548c\u7075\u6d3b\uff0c\u9002\u5408\u9700\u8981\u5c0f\u578b\u3001\u7075\u6d3b\u4ee3\u7801\u7684\u9879\u76ee\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c3d\u7ba1\u8fd9\u4e9b\u5e93\u5728\u73b0\u4ee3\u5f00\u53d1\u4e2d\u9010\u6e10\u88ab\u73b0\u4ee3\u6846\u67b6\u548c\u539f\u751f JavaScript \u7279\u6027\u6240\u53d6\u4ee3\uff0c\u4f46\u5b83\u4eec\u7684\u7406\u5ff5\u548c\u6280\u672f\u4f9d\u7136\u5f71\u54cd\u7740\u5982\u4eca\u7684\u5f00\u53d1\u5de5\u5177\u548c\u6846\u67b6\uff08\u5982 React\u3001Vue\uff09\u3002\u7406\u89e3\u5b83\u4eec\u7684\u7279\u6027\u548c\u4f7f\u7528\u573a\u666f\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u597d\u5730\u7406\u89e3\u524d\u7aef\u5e93\u7684\u6f14\u53d8\uff0c\u5e76\u4e3a\u5b66\u4e60\u73b0\u4ee3\u524d\u7aef\u6846\u67b6\u6253\u4e0b\u575a\u5b9e\u57fa\u7840\u3002\u66f4\u591a\u8be6\u7ec6\u5185\u5bb9\u8bf7\u5173\u6ce8\u5176\u4ed6\u76f8\u5173\u6587\u7ae0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 JavaScript \u7684\u5386\u53f2\u4e0a\uff0cjQuery\u3001Prototype \u548c MooTools \u662f\u4e09\u5927\u65e9\u671f\u975e\u5e38\u6d41\u884c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[],"class_list":["post-2159","post","type-post","status-publish","format-standard","hentry","category-javascript"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=2159"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2159\/revisions"}],"predecessor-version":[{"id":2160,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2159\/revisions\/2160"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=2159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=2159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=2159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}