{"id":305,"date":"2016-09-29T12:16:52","date_gmt":"2016-09-29T03:16:52","guid":{"rendered":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2016\/09\/29\/design-pattern"},"modified":"2022-10-29T22:34:14","modified_gmt":"2022-10-29T13:34:14","slug":"design-pattern","status":"publish","type":"post","link":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2016\/09\/29\/design-pattern\/","title":{"rendered":"\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u5206\u79d1\u4f1a\u3067\u53d6\u308a\u4e0a\u3052\u305f\u3044\u30c6\u30fc\u30de"},"content":{"rendered":"

\u30a4\u30f3\u30b9\u30bf\u3067\u5642\u306e\u3001\u30c0\u30a4\u30bd\u30fc\u30fb\u30b9\u30af\u30a8\u30a2\u30dc\u30c3\u30af\u30b9\u3092\u8cb7\u3044\u8fbc\u3093\u3060okp\u3067\u3059\u3002<\/p>\n

\u5f0a\u793e\u3067\u306f\u3001\u6765\u6708\u304b\u3089\u3001\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u5206\u79d1\u4f1a<\/code>\u304c\u59cb\u307e\u308b\u3002\u4ee5\u524d\u3088\u308a\u884c\u306a\u3063\u3066\u3044\u305f\u8aad\u66f8\u4f1a<\/a>\u306e\u5ef6\u9577\u3060\u304c\u3001\u7279\u306b\u3053\u308c\u3068\u8a00\u3063\u305f\u66f8\u7c4d\u306f\u6c7a\u3081\u305a\u306b\u3001\u30d1\u30bf\u30fc\u30f3\u3054\u3068\u306b\u5206\u79d1\u4f1a\u3092\u9032\u3081\u308b\u60f3\u5b9a\u3060\u3002<\/p>\n

\u305d\u3053\u3067\u4eca\u56de\u306f\u3001\u50d5\u304c\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u5206\u79d1\u4f1a\u3067\u53d6\u308a\u4e0a\u3052\u305f\u3044(\u6559\u3048\u3066\u6b32\u3057\u3044)\u30c6\u30fc\u30de\u3092\u5e7e\u3064\u304b\u3042\u3052\u3066\u307f\u308b\u3053\u3068\u306b\u3059\u308b\u3002<\/p>\n

DI\u3068Service Locator<\/h2>\n

DI\u3068Service Locator\u306b\u3064\u3044\u3066\u5b9f\u88c5\u4f8b\u3092\u307f\u306a\u304c\u3089\u3082\u3046\u5c11\u3057\u5b66\u3073\u305f\u3044\u3002JS\u4ee5\u5916\u306e\u8a00\u8a9e\u3060\u3068\u3069\u306e\u3088\u3046\u306b\u306a\u308b\u306e\u304b\u3082\u307f\u3066\u3001\u7406\u89e3\u3092\u6df1\u3081\u305f\u3044\u3002<\/p>\n