{"id":1356,"date":"2014-11-11T18:16:00","date_gmt":"2014-11-11T09:16:00","guid":{"rendered":"https:\/\/www.jaswill.co.jp\/blog\/2014\/11\/11\/adapter\/"},"modified":"2014-11-11T18:16:00","modified_gmt":"2014-11-11T09:16:00","slug":"adapter","status":"publish","type":"post","link":"https:\/\/www.jaswill.co.jp\/blog\/2014\/11\/11\/adapter\/","title":{"rendered":"\u7b2c\u4e8c\u56de\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u3000Adapter"},"content":{"rendered":"<p>\u7b2c\u4e8c\u56de\u76ee\u306f<br \/>\nAdapter<br \/>\n\u3067\u3059\uff01<br \/>\n\u3053\u308c\u306f\u7d99\u627f\u306e\u3053\u3068\u3067\u3059\u306d\u3002\u591a\u5206\u7406\u89e3\u3067\u304d\u3066\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3068\u308a\u3042\u3048\u305a\u767b\u5834\u4eba\u7269\u306e\u7d39\u4ecb\u3092\u30fb\u30fb\u30fb<br \/>\n\u4eca\u56de\u306f\u96fb\u6e90\u306e\u30a2\u30c0\u30d7\u30bf\u30fc\u3092\u7528\u3044\u3066\u3046\u307e\u304f\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u25a0Target\uff08\u5bfe\u8c61\uff09\u306e\u5f79<br \/>\n\u4eca\u5fc5\u8981\u3068\u306a\u3063\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u3002<\/p>\n<p>\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u3092\u52d5\u304b\u3059\u305f\u3081\u306b\u5fc5\u8981\u306a\u76f4\u6d4112\uff36<br \/>\n\u25a0Client\uff08\u4f9d\u983c\u8005\uff09\u306e\u5f79<br \/>\nTarget\u3092\u4f7f\u3063\u3066\u4ed5\u4e8b\u3092\u3059\u308b\u5f79\u3002<\/p>\n<p>\u76f4\u6d4112\uff36\u3067\u52d5\u304f\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3<br \/>\n\u25a0Adaptee\uff08\u9069\u5408\u3055\u308c\u308b\u5074\uff09\u306e\u5f79<br \/>\n\u3059\u3067\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u3092\u6301\u3063\u3066\u3044\u308b\u5f79\u3002<\/p>\n<p>\u4ea4\u6d41100\u30dc\u30eb\u30c8\u306eAC\u96fb\u6e90<br \/>\n\u25a0Adapter\u306e\u5f79<br \/>\nAdaptee\u5f79\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066Target\u5f79\u3092\u6e80\u305f\u305d\u3046\u3068\u4ed5\u4e8b\u3059\u308b\u5f79\u3002<\/p>\n<p>\u4ea4\u6d41100\uff36\u3092\u76f4\u6d4112\uff36\u306b\u5909\u63db\u3059\u308b\u96fb\u6e90\u30a2\u30c0\u30d7\u30bf\u30fc<br \/>\n\u30af\u30e9\u30b9\u306b\u3088\u308bAdapter\u30d1\u30bf\u30fc\u30f3\u306e\u5834\u5408\u306b\u306f\u3001Adapter\u5f79\u306f\u300c\u7d99\u627f\u300d\u3057\u3066Adaptee\u5f79\u3092\u5229\u7528\u3057\u307e\u3059\u3002<br \/>\n\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u3088\u308bAdaoter\u30d1\u30bf\u30fc\u30f3\u306e\u5834\u5408\u306f\u3001\u300c\u59d4\u8b72\u300d\u3092\u4f7f\u3063\u3066Adaptee\u5f79\u3092\u5229\u7528\u3057\u307e\u3059\u3002<br \/>\n&gt;\u300c\u59d4\u8b72\u300d\u3068\u805e\u3044\u3066\u3042\u307e\u308a\u30d4\u30f3\u3068\u3053\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u308a\u30e1\u30bd\u30c3\u30c9\u5185\u3067<br \/>\n\u547c\u3073\u51fa\u3057\u3066\u4f7f\u3046\u3053\u3068\u306e\u3088\u3046\u3067\u3059\u3002<br \/>\n\u25cb\u5229\u70b9<br \/>\n\u65e2\u306b\u5b8c\u6210\u3055\u308c\u305f\u30af\u30e9\u30b9\u3092\u5229\u7528\u3059\u308b\u306e\u3067\u3001\u30c6\u30b9\u30c8\u3092\u3057\u306a\u304f\u3066\u3082\u826f\u3044\u3001\u307e\u305f\u306f\u30c6\u30b9\u30c8\u3092\u3059\u308b\u7bc4\u56f2\u304c\u9650\u3089\u308c\u308b\u3002<br \/>\n\u4eca\u56de\u306fAdapter\u30d1\u30bf\u30fc\u30f3\u3067\u3057\u305f\u304c\u3001\u81ea\u7136\u3068\u8eab\u306b\u3064\u3044\u3066\u3044\u308b\uff08\u306f\u305a\u30fb\u30fb\u30fb\uff09\u3088\u3046\u306a\u3053\u3068\u3067\u3057\u305f\u3002<br \/>\n\u307e\u3060\u5e8f\u7ae0\u3068\u8a00\u3046\u3053\u3068\u3067\u3001\u7c21\u5358\u306a\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306a\u306e\u3067\u3057\u3087\u3046\u3002<br \/>\n\u6b21\u56de\u306fTemplate Method\u3067\u3059\uff01\u3067\u306f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b2c\u4e8c\u56de\u76ee\u306f Adapter \u3067\u3059\uff01 \u3053\u308c\u306f\u7d99\u627f\u306e\u3053\u3068\u3067\u3059\u306d\u3002\u591a\u5206\u7406\u89e3\u3067\u304d\u3066\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002 \u3068\u308a\u3042\u3048\u305a\u767b\u5834\u4eba\u7269\u306e\u7d39\u4ecb\u3092\u30fb\u30fb\u30fb \u4eca\u56de\u306f\u96fb\u6e90\u306e\u30a2\u30c0\u30d7\u30bf\u30fc\u3092\u7528\u3044\u3066\u3046\u307e\u304f\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u25a0Target\uff08\u5bfe\u8c61\uff09\u306e\u5f79 \u4eca\u5fc5\u8981\u3068\u306a\u3063\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u3002 \u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u3092\u52d5\u304b\u3059\u305f\u3081\u306b\u5fc5\u8981\u306a\u76f4\u6d4112\uff36 \u25a0Client [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[397],"class_list":["post-1356","post","type-post","status-publish","format-standard","hentry","category-web","tag-adapter"],"views":18,"_links":{"self":[{"href":"https:\/\/www.jaswill.co.jp\/blog\/wp-json\/wp\/v2\/posts\/1356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jaswill.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jaswill.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jaswill.co.jp\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jaswill.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=1356"}],"version-history":[{"count":0,"href":"https:\/\/www.jaswill.co.jp\/blog\/wp-json\/wp\/v2\/posts\/1356\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jaswill.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=1356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jaswill.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=1356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jaswill.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=1356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}