{"id":271,"date":"2007-12-05T17:18:01","date_gmt":"2007-12-05T09:18:01","guid":{"rendered":"https:\/\/lifeparty.idv.tw\/blog\/archives\/271"},"modified":"2007-12-10T13:10:11","modified_gmt":"2007-12-10T05:10:11","slug":"%e8%b7%a8%e8%b6%8a%e9%81%a0%e7%ab%af%e7%95%8c%e9%9d%a2%e5%91%bc%e5%8f%ab%e7%9a%84%e8%97%a9%e9%9b%a2","status":"publish","type":"post","link":"https:\/\/lifeparty.idv.tw\/blog\/archives\/271","title":{"rendered":"\u8de8\u8d8a\u9060\u7aef\u754c\u9762\u547c\u53eb\u7684\u85e9\u96e2"},"content":{"rendered":"<p>\u5728\u8edf\u9ad4\u958b\u767c\u7684\u904e\u7a0b\u4e2d\uff0c\u70ba\u4e86\u964d\u4f4e\u4e0d\u5fc5\u8981\u7684\u8907\u96dc\u5ea6\uff0c\u958b\u767c\u8005\u901a\u5e38\u6703\u63a1\u7528\u8a2d\u8a08\u8207\u5be6\u4f5c\u5206\u96e2\u7684\u958b\u767c\u539f\u5247\u3002\u4e5f\u5c31\u662f\u5728\u8a2d\u8a08\u6642\uff0c\u6703\u91dd\u5c0d\u4f7f\u7528\u8005\u7684<a href=\"http:\/\/en.wikipedia.org\/wiki\/Functional_requirements\">\u9700\u6c42<\/a>\u4f86\u8a2d\u8a08<a href=\"http:\/\/en.wikipedia.org\/wiki\/Interface_%28computer_science%29\">\u754c\u9762<\/a>\uff0c\u8b93\u8a2d\u8a08\u4e26\u4e0d\u6d89\u53ca\u5be6\u4f5c\u7d30\u7bc0\u3002\u76f4\u5230\u4e86\u5be6\u4f5c\u4ee5\u5f8c\uff0c\u624d\u8b93\u4f9d\u8a2d\u8a08\u7684\u754c\u9762\u898f\u683c\u3001\u4ee5\u53ca\u5be6\u969b\u8edf\u9ad4\u6027\u80fd\u7684\u8003\u91cf\u4f86\u5be6\u4f5c\u8edf\u9ad4\u7cfb\u7d71\u3002<\/p>\n<p>\u4e0d\u904e\uff0c\u5728\u4f7f\u7528\u8005\u754c\u9762\u7a0b\u5f0f\u8207\u61c9\u7528\u670d\u52d9\u5143\u4ef6\u4e0d\u5728\u540c\u4e00\u500b\u904b\u884c\u7a7a\u9593\u7684\u60c5\u6cc1\u4e0b\uff0c\u5f7c\u6b64\u4e4b\u9593\u5c31\u6703\u7522\u751f\u9060\u7aef\u754c\u9762\u547c\u53eb\u7684\u85e9\u96e2\u3002\u4f7f\u7528\u8005\u754c\u9762\u7a0b\u5f0f\u5982\u4f55\u7a7f\u900f\u5c64\u5c64\u969c\u7919\u8207\u7a7a\u9593\u9694\u95a1\u624d\u80fd\u628a\u547c\u53eb\u8981\u6c42\u50b3\u9001\u5230\u61c9\u7528\u670d\u52d9\u5143\u4ef6\u5462\uff1f\u540c\u6a23\u7684\u9053\u7406\uff0c\u61c9\u7528\u670d\u52d9\u5143\u4ef6\u53c8\u8981\u5982\u4f55\u624d\u80fd\u628a\u57f7\u884c\u670d\u52d9\u7684\u7d50\u679c\u50b3\u9001\u7d66\u4f7f\u7528\u8005\u754c\u9762\u7a0b\u5f0f\u5462\uff1f<\/p>\n<p>\u4e00\u822c\u800c\u8a00\uff0c<a href=\"http:\/\/en.wikipedia.org\/wiki\/Remote_procedure_call\">\u9060\u7aef\u7a0b\u5e8f\u547c\u53eb<\/a>\uff08RPC\uff0cremote procedure call\uff09\u7684\u5354\u5b9a\u662f\u7528\u4f86\u89e3\u6c7a\u9060\u7aef\u547c\u53eb\u7684\u554f\u984c\u3002\u5728\u547c\u53eb\u7aef\u767c\u9001\u547c\u53eb\u8acb\u6c42\u8a0a\u606f\u7d66\u9060\u7aef\u4f3a\u670d\u5668\uff0c\u7136\u5f8c\u6839\u64da\u547c\u53eb\u7aef\u6240\u50b3\u9001\u7684\u53c3\u6578\u5c07\u547c\u53eb\u7d50\u679c\u56de\u50b3\u7d66\u547c\u53eb\u7aef\u3002\u7136\u800c\uff0c\u5c0d\u65bc\u5404\u7a2e\u4e0d\u540c\u7684 RPC \u7684\u5be6\u4f5c\u6280\u8853\u6709\u8457\u4e0d\u540c\u7684\u8abf\u7528\u5354\u8b70\uff0c\u800c\u4e14\u5b83\u5011\u5f80\u5f80\u4e0d\u80fd\u5f7c\u6b64\u76f8\u5bb9\u3002<\/p>\n<p>\u53ef\u662f\u9019\u6a23\u4e00\u4f86\uff0c\u5728\u9060\u7aef\u547c\u53eb\u7684\u60c5\u6cc1\u4e0b\uff0c\u8a2d\u8a08\u8207\u5be6\u4f5c\u5c31\u5f88\u96e3\u5206\u96e2\u4e86\u3002\u56e0\u70ba\u547c\u53eb\u7aef\u7684\u7a0b\u5f0f\u5fc5\u9808\u77e5\u9053 RPC \u7684\u547c\u53eb\u65b9\u5f0f\uff0c\u5b83\u76f8\u4f9d\u4e86 RPC \u7684\u5be6\u4f5c\u7d30\u7bc0\u3002\u4e0d\u540c RPC \u7684\u6280\u8853\u5be6\u4f5c\uff0c\u6703\u8b93\u547c\u53eb\u7aef\u5fc5\u9808\u66f4\u6539\u547c\u53eb\u7684\u7a0b\u5f0f\u78bc\uff0c\u56e0\u800c\u7522\u751f\u4e86\u6c92\u6709\u5fc5\u8981\u7684\u8907\u96dc\u5ea6\u3002<\/p>\n<p>\u600e\u9ebc\u8fa6\u5462\uff1f\u540c\u4eba\u5728\u6b64\u5206\u4eab\u500b\u4eba\u7684\u8a2d\u8a08\u5fc3\u5f97\u4f9b\u5927\u5bb6\u53c3\u8003<!--more-->\uff0c\u8acb\u53c3\u8003\u4e0b\u5716\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/lifeparty.idv.tw\/blog\/wp-content\/uploads\/2007\/12\/bizdelegate.png\" alt=\"bizdelegate.png\" \/><\/p>\n<p>\u6211\u5011\u5e0c\u671b\u4e0d\u7ba1\u9060\u7aef\u547c\u53eb\u7684\u6280\u8853\u5be6\u4f5c\u65b9\u5f0f\u5982\u4f55\u6539\u8b8a\uff0c\u53ea\u8981\u547c\u53eb\u754c\u9762\u4e0d\u6539\u8b8a\uff0c\u5c31\u4e0d\u6703\u66f4\u52d5\u547c\u53eb\u7aef\u7684\u7a0b\u5f0f\u78bc\u3002\u5176\u5be6\u53ea\u8981\u5728\u547c\u53eb\u7aef\u8207\u9060\u7aef\u61c9\u7528\u670d\u52d9\u5143\u4ef6\u4e4b\u9593\u8a2d\u8a08\u901a\u7528\u7684\u9060\u7aef\u547c\u53eb\u754c\u9762\uff0c\u8b93\u6240\u63a1\u7528\u4e4b RPC \u6280\u8853\u53ef\u4ee5\u4f9d\u64da\u901a\u7528\u547c\u53eb\u754c\u9762\u5be6\u4f5c\u9060\u7aef\u547c\u53eb\uff0c\u5c31\u53ef\u4ee5\u9054\u5230\u76ee\u7684\u3002\u5982\u6b64\uff0c\u4e0d\u7ba1\u547c\u53eb\u754c\u9762\u600e\u9ebc\u8b8a\u5316\uff0c\u90fd\u4e0d\u6703\u56e0\u6b64\u5f71\u54cd\u5230 RPC \u7684\u547c\u53eb\u754c\u9762\u3002<\/p>\n<p>\u900f\u904e\u901a\u7528\u9060\u7aef\u547c\u53eb\u754c\u9762\uff0cRPC \u6280\u8853\u5be6\u4f5c\u8ca0\u8cac\u5c07\u670d\u52d9\u3001\u4f5c\u696d\u3001\u53c3\u6578\u50b3\u9001\u5230\u9060\u7aef\u4f3a\u670d\u5668\uff0c\u518d\u7531\u9060\u7aef\u4f3a\u670d\u5668\u4f9d\u670d\u52d9\u4f5c\u696d\u754c\u9762\u547c\u53eb\u670d\u52d9\uff0c\u4e26\u5c07\u57f7\u884c\u7d50\u679c\u4f9d\u901a\u7528\u547c\u53eb\u754c\u9762\u56de\u50b3\uff0c\u6700\u5f8c\u518d\u5c07\u7d50\u679c\u4f9d\u547c\u53eb\u7aef\u4e4b\u547c\u53eb\u754c\u9762\u50b3\u56de\u547c\u53eb\u7aef\uff0c\u5c31\u53ef\u4ee5\u9806\u5229\u5b8c\u6210\u670d\u52d9\u64cd\u4f5c\u7684\u547c\u53eb\u4e86\u3002<\/p>\n<p>\u57fa\u65bc\u4ee5\u4e0a\u7684\u8a2d\u8a08\u6982\u5ff5\uff0c\u6211\u5011\u53ea\u8981\u8a2d\u8a08\u4e00\u500b\u901a\u7528\u7684\u9060\u7aef\u547c\u53eb\u754c\u9762\uff0c\u7136\u5f8c\u518d\u60f3\u8fa6\u6cd5\u8b93\u547c\u53eb\u7aef\u8207\u9060\u7aef\u61c9\u7528\u670d\u52d9\u5143\u4ef6\u6240\u8981\u50b3\u9001\u7684\u8cc7\u8a0a\u8f49\u63db\u6210\u9019\u7a2e\u901a\u7528\u754c\u9762\u4f86\u50b3\u9001\uff0c\u554f\u984c\u5c31\u89e3\u6c7a\u4e86\u3002\u6240\u4ee5\u6211\u5011\u5b9a\u7fa9\u4e86 <em>ServiceProcessor <\/em>\u7684\u901a\u7528\u547c\u53eb\u754c\u9762\uff0c\u5b83\u53ea\u6709\u4e00\u500b\u64cd\u4f5c <em>processService<\/em>\uff0c\u53ef\u6839\u64da\u6240\u50b3\u9001\u7684\u670d\u52d9\u540d\u7a31\u3001<a href=\"http:\/\/en.wikipedia.org\/wiki\/Method_%28computer_science%29\">\u64cd\u4f5c<\/a>\u540d\u7a31\u3001\u4ee5\u53ca\u547c\u53eb\u670d\u52d9\u64cd\u4f5c\u6240\u50b3\u7684<a href=\"http:\/\/en.wikipedia.org\/wiki\/Parameter_%28programming%29\">\u53c3\u6578<\/a>\uff0c\u4e26\u53ef\u56de\u50b3\u670d\u52d9\u64cd\u4f5c\u57f7\u884c\u7d50\u679c\u3002<\/p>\n<p>\u670d\u52d9\u8207\u64cd\u4f5c\u540d\u7a31\u7121\u7591\u90fd\u53ef\u7528\u5b57\u4e32\u4f86\u50b3\u9001\uff0c\u4f46\u53c3\u6578\u53ca\u56de\u50b3\u503c\u8981\u600e\u9ebc\u8fa6\u5462\uff1f\u5728\u7269\u4ef6\u5c0e\u5411\u7684\u4e16\u754c\u4e2d\uff0c\u6240\u6709\u53c3\u6578\u90fd\u53ef\u8996\u505a\u7269\u4ef6\uff0c\u7269\u4ef6\u7121\u6cd5\u76f4\u63a5\u5728\u7db2\u8def\u4e0a\u50b3\u8f38\uff0c\u4f46\u6211\u5011\u53ea\u8981\u5c07\u7269\u4ef6\u8f49\u6210\u5b57\u4e32\u683c\u5f0f\u5c31\u53ef\u4ee5\u4e86\uff0c\u81f3\u65bc\u591a\u53c3\u6578\u7684\u547c\u53eb\uff0c\u6211\u5011\u6240\u50b3\u7684\u5247\u662f\u4e00\u500b\u9663\u5217\u7269\u4ef6\u7684\u5b57\u4e32\u683c\u5f0f\u3002\u540c\u7406\uff0c\u56de\u50b3\u503c\u4e5f\u662f\u7269\u4ef6\u7684\u5b57\u4e32\u683c\u5f0f\u3002<\/p>\n<p>\u4f46\u7269\u4ef6\u5982\u4f55\u8207\u5b57\u4e32\u683c\u5f0f\u4e92\u8f49\u5462\uff1f\u6211\u5011\u4f7f\u7528\u8a0a\u606f\u683c\u5f0f\u7684<a href=\"http:\/\/en.wikipedia.org\/wiki\/Abstraction_%28computer_science%29\">\u62bd\u8c61\u6982\u5ff5<\/a>\u4f86\u505a\u8f49\u63db\uff0c\u6211\u5011\u5b9a\u7fa9\u4e86 <em>BizObjectFormat<\/em>  \u7684\u754c\u9762\uff0c\u63d0\u4f9b\u5546\u696d\u9818\u57df\u7269\u4ef6\u8207\u5b57\u4e32\u683c\u5f0f\u76f8\u4e92\u8f49\u63db\u7684\u5be6\u4f5c\u898f\u683c\u3002<\/p>\n<p>\u81f3\u6b64\uff0c\u6211\u5011\u6709\u4e86 <em>ServiceProcessor<\/em> \u8207 <em>BizObjectFormat <\/em>\u5169\u500b\u754c\u9762\uff0c\u63a5\u4e0b\u4f86\u7684\u554f\u984c\u5c31\u662f\u547c\u53eb\u7aef\u5982\u4f55\u53d6\u5f97\u5be6\u4f5c\u5b83\u5011\u7684\u5be6\u4f8b\uff0c\u4f86\u5b8c\u6210\u670d\u52d9\u4f5c\u696d\u7684\u547c\u53eb\u3002\u9019\u6b63\u53ef\u7528 <a href=\"http:\/\/en.wikipedia.org\/wiki\/Abstract_factory_pattern\">abstract factory<\/a> \u4f86\u7d44\u614b\u8a2d\u5b9a\uff0c\u65bc\u662f\u5b9a\u7fa9\u4e86 <em>BizDelegateConfiguration<\/em> \u7684\u754c\u9762\uff0c\u8b93\u5be6\u4f5c\u6b64\u754c\u9762\u7684\u7d44\u614b\u8a2d\u5b9a\u53ef\u4ee5\u4f9d\u5be6\u969b\u60c5\u6cc1\u53d6\u5f97\u9069\u7576\u7684 <em>ServiceProcessor <\/em>\u53ca <em>BizObjectFormat<\/em>\u3002<\/p>\n<p>\u7136\u800c\uff0c\u547c\u53eb\u7aef\u8981\u5982\u4f55\u547c\u53eb <em>ServiceProcessor<\/em> \u5462\uff1f\u6211\u5011\u5229\u7528\u52d5\u614b\u4ee3\u7406\u6a5f\u5236\u5efa\u7acb\u5be6\u4f5c <em>BizService <\/em>\u7684<a href=\"http:\/\/en.wikipedia.org\/wiki\/Proxy_pattern\">\u4ee3\u7406\u7269\u4ef6<\/a>\u3002\u5728\u52d5\u614b\u4ee3\u7406\u7684 <em>InvocationHandler<\/em> \u7684\u5be6\u4f5c\u4e2d<span class=\"footnote\">\u4ee5 <a href=\"http:\/\/en.wikipedia.org\/wiki\/Java_%28programming_language%29\">Java<\/a> \u70ba\u4f8b\u3002<\/span>\uff0c\u6703\u6839\u64da\u7d44\u614b\u8a2d\u5b9a\u53d6\u5f97<em> ServiceProcessor <\/em>\u53ca <em>BizObjectFormat<\/em>\uff0c\u4ee5\u9032\u884c\u547c\u53eb\u53c3\u6578\u7684\u683c\u5f0f\u8f49\u63db\u53ca\u50b3\u9001\u9060\u7aef\u670d\u52d9\u4f5c\u696d\u7684\u547c\u53eb\u3002<\/p>\n<p>\u9996\u5148\u900f\u904e<em> BizObjectFormat <\/em>\u5c07\u547c\u53eb\u53c3\u6578\u5f9e\u7269\u4ef6\u8f49\u63db\u6210\u5b57\u4e32\u683c\u5f0f\uff0c\u518d\u5c07\u683c\u5f0f\u8f49\u63db\u7d50\u679c\u7576\u53c3\u6578\u900f\u904e<em> ServiceProcessor<\/em> \u547c\u53eb\u670d\u52d9\u4f5c\u696d\uff0c\u6700\u5f8c\u518d\u5c07\u670d\u52d9\u57f7\u884c\u7d50\u679c\u4ee5<em> BizObjectFormat <\/em>\u8f49\u63db\u6210\u7269\u4ef6\u5f8c\u56de\u50b3\u547c\u53eb\u7aef\u3002<\/p>\n<p>\u901a\u5e38\uff0c\u70ba\u4e86\u6e1b\u8f15\u5be6\u4f5c\u7684\u8ca0\u64d4\uff0c\u4ee5\u589e\u52a0\u958b\u767c\u6548\u7387\u3002\u8a31\u591a\u958b\u767c\u74b0\u5883\u591a\u6703\u63d0\u4f9b\u81ea\u52d5\u7522\u751f RPC \u7684\u547c\u53eb\u7aef\u4ee3\u7406\u7a0b\u5f0f\uff0c\u800c\u6211\u5011\u53ef\u5c07\u81ea\u52d5\u7522\u751f\u7684\u7a0b\u5f0f\u8a2d\u5b9a\u5728\u7d44\u614b\u8a2d\u5b9a\u4e2d\u3002\u5982\u6b64\uff0c\u547c\u53eb\u7aef\u5c31\u4e0d\u6703\u8207 RPC \u7684\u5be6\u4f5c\u6280\u8853\u76f8\u4f9d\uff0c\u800c\u4e14\u7576\u4f7f\u7528\u7684 RPC \u6280\u8853\u6539\u8b8a\u6642\uff0c\u53ea\u8981\u66f4\u6539\u7d44\u614b\u8a2d\u5b9a\u5c31\u53ef\u8f15\u6613\u5730\u6539\u8b8a RPC \u7684\u5354\u5b9a\u4e86\u3002<\/p>\n<p>\u6b64\u5916\uff0c\u70ba\u4e86\u8981\u6b63\u78ba\u9084\u539f\u7269\u4ef6\u53c3\u6578\u53ca\u56de\u50b3\u503c\u7684<a href=\"http:\/\/en.wikipedia.org\/wiki\/Data_type\">\u8cc7\u6599\u578b\u614b<\/a>\u6216<a href=\"http:\/\/en.wikipedia.org\/wiki\/Class_%28computer_science%29\">\u985e\u5225<\/a>\u3001\u4ee5\u53ca\u53ef\u6b63\u78ba\u56de\u50b3\u670d\u52d9\u4f5c\u696d\u7684\u7570\u5e38\uff0c\u5fc5\u9808\u5c0d\u53c3\u6578\u7269\u4ef6\u53ca\u56de\u50b3\u503c\u518d\u505a\u4e00\u6b21\u5c01\u88dd\uff0c\u4ee5\u78ba\u4fdd\u547c\u53eb\u670d\u52d9\u4f5c\u696d\u8cc7\u8a0a\u7684\u5b8c\u6574\u6027\u3002\u9019\u5728\u5be6\u4f5c\u4e0a\u4e26\u4e0d\u56f0\u96e3\uff0c\u540c\u6642\u9650\u65bc\u7bc7\u5e45\uff0c\u6b64\u8655\u5c31\u4e0d\u518d\u591a\u505a\u4ecb\u7d39\u4e86\u3002<\/p>\n<p>\u6b64\u8a2d\u8a08\u5df2\u5728<a href=\"http:\/\/en.wikipedia.org\/wiki\/Service-oriented_architecture\">\u670d\u52d9\u5c0e\u5411\u67b6\u69cb<\/a>\u4e2d\u88ab\u78ba\u5be6\u7684\u5be6\u4f5c\u51fa\u4f86\u4e86\uff0c\u5728\u547c\u53eb\u8a0a\u606f\u683c\u5f0f\u8f49\u63db\u4e2d\uff0c\u540c\u4eba\u662f\u904b\u7528 <a href=\"http:\/\/xstream.codehaus.org\">XStream<\/a> \u4f86\u505a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Plain_Old_Java_Object\">POJOs <\/a>\u8207 <a href=\"http:\/\/en.wikipedia.org\/wiki\/XML\">Xml<\/a> \u683c\u5f0f\u7684\u76f8\u4e92\u8f49\u63db\uff0c\u800c\u6211\u5011\u4e5f\u7528 <a href=\"http:\/\/en.wikipedia.org\/wiki\/Web_Services_Description_Language\">WSDL<\/a>2Java \u7522\u751f <a href=\"http:\/\/en.wikipedia.org\/wiki\/Web_service\">web service<\/a> \u5354\u5b9a\u7684\u4ee3\u7406\u7a0b\u5f0f\u3002\u9019\u500b\u8a2d\u8a08\u5176\u5be6\u548c <a href=\"http:\/\/java.sun.com\/blueprints\/corej2eepatterns\/Patterns\/BusinessDelegate.html\">business delegate \u6a23\u5f0f<\/a>\u7684\u76f8\u901a\u7684\uff0c\u96d6\u7136\uff0c\u7576\u521d\u518d\u8a2d\u8a08\u6642\u4e26\u4e0d\u662f\u76f4\u63a5\u5957\u7528\u6b64<a href=\"http:\/\/java.sun.com\/blueprints\/corej2eepatterns\/index.html\">\u8a2d\u8a08\u6a23\u5f0f<\/a>\uff0c\u800c\u662f\u4ee5\u554f\u984c\u7576\u6210\u8a2d\u8a08\u51fa\u767c\u9ede\u7684\u3002\u7136\u800c\uff0c\u9019\u53c8\u662f\u300c\u5929\u4e0b\u4e8b\u4e00\u81f4\u800c\u767e\u616e\uff0c\u6b8a\u9014\u800c\u540c\u6b78\u300d\u7684\u518d\u4e00\u6b21\u660e\u8b49\u5440\u3002<\/p>\n<p class=\"poweredbyperformancing\">Powered by <a href=\"http:\/\/scribefire.com\/\">ScribeFire<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9019\u6a23\u4e00\u4f86\uff0c\u5728\u9060\u7aef\u547c\u53eb\u7684\u60c5\u6cc1\u4e0b\uff0c\u8a2d\u8a08\u8207\u5be6\u4f5c\u5c31\u5f88\u96e3\u5206\u96e2\u4e86\u3002\u56e0\u70ba\u547c\u53eb\u7aef\u7684\u7a0b\u5f0f\u5fc5\u9808\u77e5\u9053 RPC \u7684\u547c\u53eb\u65b9\u5f0f\uff0c\u5b83\u76f8\u4f9d\u4e86 RPC \u7684\u5be6\u4f5c\u7d30\u7bc0\u3002\u4e0d\u540c RPC \u7684\u6280\u8853\u5be6\u4f5c\uff0c\u6703\u8b93\u547c\u53eb\u7aef\u5fc5\u9808\u66f4\u6539\u547c\u53eb\u7684\u7a0b\u5f0f\u78bc\uff0c\u56e0\u800c\u7522\u751f\u4e86\u6c92\u6709\u5fc5\u8981\u7684\u8907\u96dc\u5ea6\u3002 <a href=\"https:\/\/lifeparty.idv.tw\/blog\/archives\/271\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,19],"tags":[],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-29","category-19"],"_links":{"self":[{"href":"https:\/\/lifeparty.idv.tw\/blog\/wp-json\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lifeparty.idv.tw\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lifeparty.idv.tw\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lifeparty.idv.tw\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lifeparty.idv.tw\/blog\/wp-json\/wp\/v2\/comments?post=271"}],"version-history":[{"count":0,"href":"https:\/\/lifeparty.idv.tw\/blog\/wp-json\/wp\/v2\/posts\/271\/revisions"}],"wp:attachment":[{"href":"https:\/\/lifeparty.idv.tw\/blog\/wp-json\/wp\/v2\/media?parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lifeparty.idv.tw\/blog\/wp-json\/wp\/v2\/categories?post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lifeparty.idv.tw\/blog\/wp-json\/wp\/v2\/tags?post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}