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.
原文:http://www.cnblogs.com/hualiu0/p/5192904.html