{"id":10324,"date":"2024-09-30T17:43:04","date_gmt":"2024-09-30T09:43:04","guid":{"rendered":"https:\/\/white-night.club\/?p=10324"},"modified":"2024-09-30T23:15:48","modified_gmt":"2024-09-30T15:15:48","slug":"book4-10","status":"publish","type":"post","link":"https:\/\/white-night.club\/index.php\/2024\/09\/30\/book4-10\/","title":{"rendered":"10.\u300a\u56fe\u89e3\u4e91\u8ba1\u7b97\u67b6\u6784\uff1a\u57fa\u7840\u8bbe\u65bd\u548cAPI\u300b(2020) \u4f5c\u8005\uff1a[\u65e5]\u5e73\u5c71\u6bc5"},"content":{"rendered":"\n<p>\u4e00\u822c\u6765\u8bf4\uff0c\u66f4\u65b0\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5e94\u7528\u7a0b\u5e8f\u6709\u4e24\u79cd\u5e38\u7528\u7684\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p>\u4e00\u79cd\u65b9\u6cd5\u53eb\u4f5c\u539f\u5730\u66f4\u65b0\uff0c\u662f\u6307\u5c06\u65b0\u7684\u5e94\u7528\u7a0b\u5e8f\u6a21\u5757\u53d1\u5e03\u5230\u6b63\u5728\u8fd0\u884c\u7684\u73af\u5883\u4e2d\u3002\u539f\u5730\u66f4\u65b0\u7684\u7f3a\u70b9\u662f\u670d\u52a1\u5668\u6682\u65f6\u65e0\u6cd5\u63a5\u53d7\u8bf7\u6c42\u3002\u53e6\u5916\uff0c\u7531\u4e8e\u6211\u4eec\u65e0\u6cd5\u5728\u4ee3\u7801\u53d1\u5e03\u524d\u786e\u8ba4\u5e94\u7528\u7a0b\u5e8f\u7684\u771f\u5b9e\u884c\u4e3a\uff0c\u6240\u4ee5\u5c31\u7b97\u5b58\u5728\u4f1a\u5bfc\u81f4\u6027\u80fd\u4e0b\u964d\u7684\u95ee\u9898\uff0c\u4e5f\u53ea\u6709\u5728\u5e94\u7528\u7a0b\u5e8f\u5f00\u59cb\u63a5\u6536\u8bf7\u6c42\u4e4b\u540e\u624d\u80fd\u53d1\u73b0\u3002\u800c\u4e14\uff0c\u8fd9\u79cd\u65b9\u6cd5\u4e5f\u4e0d\u652f\u6301\u901a\u8fc7\u5207\u6362\u5230\u5168\u65b0\u90fd\u8fd0\u884c\u73af\u5883\u6765\u53d1\u5e03\u7a0b\u5e8f\u3002<\/p>\n\n\n\n<p>\u5728\u4ee5\u672c\u5730\u90e8\u7f72\u7684\u65b9\u5f0f\u642d\u914d\u7684\u73af\u5883\u4e2d\uff0c\u7531\u4e8e\u9700\u8981\u6cbf\u7528\u5df2\u6709\u7684\u57fa\u7840\u8bbe\u65bd\u73af\u5883\uff0c\u6240\u4ee5\u4eba\u4eec\u4e00\u822c\u4f1a\u91c7\u53d6\u539f\u5730\u66f4\u65b0\u7684\u65b9\u6cd5\u3002\u5982\u679c\u6709\u591a\u53f0Web\u670d\u52a1\u5668\uff0c\u867d\u7136\u901a\u8fc7\u9010\u4e00\u53d1\u5e03\u4ee3\u7801\u4e5f\u80fd\u591f\u9632\u6b62\u4e00\u65f6\u95f4\u6240\u6709\u670d\u52a1\u5668\u90fd\u65e0\u6cd5\u63a5\u6536\u8bf7\u6c42\u7684\u60c5\u51b5\u51fa\u73b0\uff0c\u4f46\u6709\u65f6\u8fd9\u6837\u505a\u53c8\u4f1a\u5bfc\u81f4\u540c\u65f6\u5b58\u5728\u65b0\u65e7\u4e24\u4e2a\u7248\u672c\u7684\u5185\u5bb9\uff0c\u9020\u6210\u663e\u793a\u4e0a\u7684\u4e0d\u4e00\u81f4\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff;margin-bottom:var(--wp--preset--spacing--30)\"><code>\u540c\u65f6\u5b58\u5728\u4e24\u4e2a\u7248\u672c\u7684\u5185\u5bb9\uff0c\u663e\u793a\u4e0a\u4e0d\u4e00\u81f4\u4e5f\u4e0d\u662f\u4ec0\u4e48\u5927\u95ee\u9898\u554a\u3002\u65e7\u7248\u672c\u597d\u7528\u90a3\u5c31\u56de\u6eda\uff0c\u65b0\u7248\u672c\u597d\u7528\u90a3\u5c31\u5347\u7ea7\u3002\u9664\u975e\u662f\u6539\u4e86\u540e\u7aef\u4ee3\u7801\uff0c\u90a3\u786e\u5b9e\u6bd4\u8f83\u9ebb\u70e6\u3002\n\u6700\u8fd1\u5c31\u78b0\u5230\u4e86UI\u5c42\u5347\u7ea7\u4e86\u903b\u8f91\u5c42\u6ca1\u66f4\u65b0\u7684\u60c5\u51b5\u3002\u8fd9\u5c31\u5bfc\u81f4UI\u5c42\u7684\u4e8b\u4ef6\u89e6\u53d1\u540e\uff0c\u5728\u903b\u8f91\u5c42\u627e\u4e0d\u5230\u5bf9\u5e94\u7684\u91cd\u8f7d\u51fd\u6570\u6ca1\u6cd5\u5bf9\u6570\u636e\u8fdb\u884c\u64cd\u4f5c\uff0c\u4ece\u800c\u62a5\u9519\u7684\u95ee\u9898\u3002<\/code><\/pre>\n\n\n\n<p>\u53e6\u4e00\u79cd\u65b9\u6cd5\u662f\u5728\u66f4\u65b0\u5e94\u7528\u7a0b\u5e8f\u6216\u8fd0\u884c\u5e73\u53f0\u65f6\uff0c\u9488\u5bf9\u6bcf\u4e2a\u8fd0\u884c\u73af\u5883\u5355\u72ec\u90e8\u7f72\u4e00\u5957\u65b0\u7248\u672c\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u5f85\u5305\u62ec\u9a8c\u6536\u6d4b\u8bd5\u7684\u6240\u6709\u6b65\u9aa4\u5b8c\u6210\u540e\uff0c\u4e0e\u5f53\u524d\u7684\u73af\u5883\u4ea4\u6362URL\uff0c\u4f7f\u8bf7\u6c42\u4f9d\u7136\u5904\u4e8e\u53ef\u88ab\u63a5\u53d7\u7684\u72b6\u6001\u3002\u8fd9\u79cd\u65b9\u6cd5\u9700\u8981\u4ea4\u66ff\u4f7f\u7528\u4e24\u4e2a\u76f8\u5f53\u4e8e\u7ebf\u4e0a\u73af\u5883\u7684\u73af\u5883\uff0c\u6545\u800c\u88ab\u79f0\u4e3a\u84dd\u7eff\u90e8\u7f72\uff08blue-green deployment\uff09\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff;margin-bottom:var(--wp--preset--spacing--30)\"><code>\u7f3a\u9677\u4e5f\u5f88\u660e\u663e\uff0c\u4f60\u5f97\u51c6\u5907\u4e24\u5957\u751f\u4ea7\u73af\u5883\u3002\u597d\u5904\u662f\u8fd9\u4e24\u5957\u751f\u4ea7\u73af\u5883\u4e0d\u7528\u5b8c\u5168\u4e00\u81f4\uff0c\u9879\u76ee\u53ea\u9700\u8981\u80fd\u5728\u4e24\u5957\u73af\u5883\u4e0a\u8fd0\u884c\u5373\u53ef\u3002\n\u4f46\u548c\u4e0a\u9762\u7684\u4e00\u6837\uff0c\u5982\u679c\u6d89\u53ca\u5230\u6570\u636e\u64cd\u4f5c\u7684\u8bdd\u5c31\u6bd4\u8f83\u9ebb\u70e6\uff0c\u4f60\u5f97\u786e\u4fdd\u65b0\u65e7\u73af\u5883\u5bf9\u6570\u636e\u7684\u64cd\u4f5c\u662f\u4e00\u81f4\u7684\u3002\n\u84dd\u7eff\u90e8\u7f72\u7684\u6982\u5ff5\uff0c\u8c8c\u4f3c\u662f\u51fa\u81eaMartin Fowler\u7684\u535a\u5ba2\u3002https:\/\/martinfowler.com\/bliki\/BlueGreenDeployment.html<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>P338\u3001P339 \u84dd\u7eff\u90e8\u7f72<\/p>\n","protected":false},"author":1,"featured_media":4344,"comment_status":"open","ping_status":"","sticky":false,"template":"base","format":"standard","meta":{"footnotes":""},"categories":[119,107],"tags":[120,112],"_links":{"self":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/10324"}],"collection":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/comments?post=10324"}],"version-history":[{"count":0,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/10324\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media\/4344"}],"wp:attachment":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media?parent=10324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/categories?post=10324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/tags?post=10324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}