首页 > 其他 > 详细

A way to CQRS and DDD

时间:2016-02-16 16:29:25      阅读:206      评论:0      收藏:0      [点我收藏+]

Recently, I‘m trying to make a approach to DDD with CQRS, Event Sourcing, Domain Isolation, Domain Reporting, Messaging, Storage, etc.

some of the fetched knowledge of mine can be looked up below, I should be able to handle all these small scopes perfectly after I finished analyzing this system.

一. some basic concepts

1.ServiceLocator:

ReportDatabase, CommandBus

2. CommandBus

cmdbus->send->cmd

3. DbToReportTo:

4.Events: 

Event aggregation: should have a GUID

Event : should have an ID, and an aggregateID as well, and also Event Versioning.

5. EventHandlers:

Handler: should be able to handle generic type Event

6.

 

A way to CQRS and DDD

原文:http://www.cnblogs.com/hualiu0/p/5192904.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!