\n\n1<\/td>\n | \u6a19\u6e96\u5316<\/td>\n | \u30b5\u30fc\u30d3\u30b9\u306e\u8aac\u660e\u3092\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u793a\u3059<\/td>\n<\/tr>\n |
\n2<\/td>\n | \u758e\u7d50\u5408\u6027<\/td>\n | \u4f9d\u5b58\u95a2\u4fc2\u3092\u6e1b\u3089\u3057\u3001\u30b5\u30fc\u30d3\u30b9\u81ea\u8eab\u306e\u4f9d\u5b58\u60c5\u5831\u3092\u8a8d\u8b58\u3059\u308b<\/td>\n<\/tr>\n |
\n3<\/td>\n | \u62bd\u8c61\u6027<\/td>\n | \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u307f\u516c\u958b\u3057\u3001\u5185\u90e8\u5b9f\u88c5\u306f\u898b\u305b\u306a\u3044<\/td>\n<\/tr>\n |
\n4<\/td>\n | \u518d\u5229\u7528\u6027<\/td>\n | \u4ed6\u306e\u30b5\u30fc\u30d3\u30b9\u304b\u3089\u518d\u5229\u7528\u3067\u304d\u308b<\/td>\n<\/tr>\n |
\n5<\/td>\n | \u81ea\u5f8b\u6027<\/td>\n | \u30b5\u30fc\u30d3\u30b9\u304c\u4e00\u8cab\u6027\u3068\u4fe1\u983c\u6027\u3092\u6301\u3061\u3001\u72ec\u7acb\u3057\u3066\u6210\u7acb\u3059\u308b<\/td>\n<\/tr>\n |
\n6<\/td>\n | \u30b9\u30c6\u30fc\u30c8\u30ec\u30b9\u6027<\/td>\n | \u30b5\u30fc\u30d3\u30b9\u306e\u5229\u7528\u8005\u5074\u3067\u72b6\u614b\u306f\u7ba1\u7406\u3057\u3001\u30b5\u30fc\u30d3\u30b9\u81ea\u4f53\u306f\u72b6\u614b\u3092\u6301\u305f\u306a\u3044<\/td>\n<\/tr>\n |
\n7<\/td>\n | \u767a\u898b\u53ef\u80fd\u6027<\/td>\n | \u30b5\u30fc\u30d3\u30b9\u306e\u60c5\u5831\u3092\u30e1\u30bf\u30c7\u30fc\u30bf\u3067\u8a18\u8ff0\u3057\u3001\u4ed6\u304b\u3089\u767a\u898b\u3067\u304d\u308b<\/td>\n<\/tr>\n |
\n8<\/td>\n | \u69cb\u6210\u53ef\u80fd\u6027<\/td>\n | \u7c92\u5ea6\u306e\u5927\u304d\u3044\u30b5\u30fc\u30d3\u30b9\u306b\u7d44\u307f\u8fbc\u307f\u53ef\u80fd\u3067\u3001\u5236\u9650\u304c\u306a\u3044<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \uff08\u307b\u3068\u3093\u3069\u306f\u666e\u904d\u7684\u306b\u826f\u3044\u3068\u3055\u308c\u308b\u8a2d\u8a08\u6307\u91dd\u3060\u3068\u601d\u3046\u306e\u3067\u3001\u3053\u306e\u6587\u8108\u3058\u3083\u306a\u304f\u3066\u3082\u5e38\u306b\u610f\u8b58\u3057\u3066\u826f\u3055\u305d\u3046\uff09<\/p>\n CQRS\uff08Command Query Responsibility Segregation\uff09<\/h3>\n\n- CQRS\u3068\u306f\u3001Command\u3068\u30af\u30a8\u30ea\u3092\u5206\u96e2\u3057\u307e\u3057\u3087\u3046\u3068\u3044\u3046\u8003\u3048\u65b9\n
\n- Command\u306f\u3001\u30c7\u30fc\u30bf\u3092\u66f4\u65b0\u3059\u308b\u51e6\u7406\u3002\u5024\u306f\u8fd4\u5374\u3057\u306a\u3044\uff08\u578b\u306fvoid\uff09<\/li>\n
- Query\u306f\u3001\u30c7\u30fc\u30bf\u3092\u66f4\u65b0\u305b\u305a\u53c2\u7167\u3060\u3051\u884c\u3046\u51e6\u7406<\/li>\n<\/ul>\n<\/li>\n
- \u306a\u305cCQRS\u304c\u5fc5\u8981\uff1f\n
\n- \u53c2\u7167\u7cfb\u306e\u51e6\u7406\u306fDDD\u3068\u76f8\u6027\u304c\u60aa\u3044\u305f\u3081<\/li>\n
- \u4f8b\u3048\u3070\u3001\u8907\u6570\u306e\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092\u4e00\u89a7\u8868\u793a\u3057\u305f\u3044\u3060\u3051\u306e\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5927\u5909\u306a\u64cd\u4f5c\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308b\n
\n- \u305d\u308c\u305e\u308c\u306e\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u901a\u3058\u3066\u96c6\u7d04\u5185\u306e\u30c9\u30e1\u30a4\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3059\u308b<\/li>\n
- \u30c9\u30e1\u30a4\u30f3\u30b5\u30fc\u30d3\u30b9\u3067\u8907\u6570\u306e\u96c6\u7d04\u306b\u307e\u305f\u304c\u308b\u30c9\u30e1\u30a4\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u307e\u3068\u3081\u308b<\/li>\n
- UI\u7528\u306e\u30e2\u30c7\u30eb\u306b\u8a70\u3081\u66ff\u3048\u308b<\/li>\n<\/ul>\n<\/li>\n
- \u3057\u304b\u3082\u6027\u80fd\u304c\u60aa\u3044<\/li>\n<\/ul>\n<\/li>\n
- \u5c0e\u5165\u306e\u4ed5\u65b9\n
\n- \u65e2\u5b58\u306e\u51e6\u7406\u3092\u5358\u7d14\u306b\u3053\u308c\u306fCommand\u3001\u3053\u308c\u306fQuery\u3001\u3001\u3068\u3044\u3046\u611f\u3058\u306b\u5206\u3051\u308b\u306e\u3067\u306f\u30c0\u30e1<\/li>\n
- \u4f8b\u3048\u3070\u3001\u300c\u5929\u6c17\u4e88\u5831\u3092\u4f5c\u6210\u3057\u3066\u7d50\u679c\u3092\u8868\u793a\u3059\u308b\u300d\u3068\u3044\u3046\u4e00\u9023\u306e\u51e6\u7406\u304c\u3042\u3063\u305f\u3068\u3059\u308b\u3068\u3053\u308c\u3092\u4e8c\u3064\u306b\u5206\u3051\u308b\u5fc5\u8981\u304c\u3042\u308b\n
\n- Command: \u5929\u6c17\u4e88\u5831\u3092\u4f5c\u6210\u3057\u3066DB\u306b\u767b\u9332\u3059\u308b\uff08\u3053\u3053\u306fDDD\u306b\u6e96\u62e0\uff09<\/li>\n
- Query: DB\u304b\u3089\u5929\u6c17\u4e88\u5831\u3092\u53d6\u5f97\u3057\u3001\u5c02\u7528\u306e\u30e2\u30c7\u30eb\u306b\u8a70\u3081\u3066\u8fd4\u5374\u3059\u308b<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n
- Command\u3068Query\u3092\u7e4b\u3050\u306b\u306f\uff1f\n
\n- \u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u304c\u5fc5\u8981\uff1f\n
\n- Command\u5074\u3067\u66f4\u65b0\u5b8c\u4e86\u30a4\u30d9\u30f3\u30c8\u3092\u767a\u884c\u3057\u3066\u3001Query\u5074\u306f\u305d\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u30c8\u30ea\u30ac\u30fc\u306b\u51e6\u7406\u3092\u884c\u3046<\/li>\n<\/ul>\n<\/li>\n
- \u30d6\u30e9\u30a6\u30b6\u5074\u3067\u66f4\u65b0\u51e6\u7406\u3068\u306f\u5225\u306b\u3001\u53d6\u5f97\u51e6\u7406\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u3066\u3082\u826f\u3055\u305d\u3046<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n
5. \u300c\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u300d\u301c\u4e00\u610f\u306a\u8b58\u5225\u5b50\u3067\u540c\u4e00\u6027\u3092\u8b58\u5225\u301c<\/h2>\n\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3068\u5024\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u9055\u3044<\/h3>\n\n- \u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\n
\n- \u30d7\u30ed\u30d1\u30c6\u30a3\u5024\u304c\u5909\u66f4\u3055\u308c\u3066\u3082\u540c\u4e00\u3068\u5224\u65ad\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b<\/li>\n
- ID\u304c\u3042\u308b\u3002ID\u3067\u540c\u4e00\u6027\u3092\u8b58\u5225\u3059\u308b\n
\n- \u4f8b\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u306f\u30e6\u30fc\u30b6\u30fcID\u3067\u540c\u4e00\u6027\u3092\u8b58\u5225\u3057\u3001\u59d3\u540d\u3084\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304c\u5909\u308f\u3063\u3066\u3082\u5225\u4eba\u6271\u3044\u306b\u306f\u3057\u306a\u3044<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n
- \u5024\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\n
\n- \u30d7\u30ed\u30d1\u30c6\u30a3\u5024\u304c\u5909\u66f4\u3055\u308c\u305f\u3089\u5225\u3068\u5224\u65ad\u3059\u308b<\/li>\n
- ID\u304c\u306a\u3044\u3002\u30d7\u30ed\u30d1\u30c6\u30a3\u5024\u305d\u306e\u3082\u306e\u3067\u540c\u4e00\u6027\u3092\u8b58\u5225\u3059\u308b\n
\n- \u4f8b\u3048\u3070\u3001\u30ab\u30e9\u30fc\u5024\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u300cRED\u300d\u300cYELLOW\u300d\u306a\u3069\u306e\u5024\u305d\u306e\u3082\u306e\u3067\u540c\u4e00\u6027\u3092\u8b58\u5225\u3059\u308b<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n
- \u5171\u901a\u70b9\n
|