zoukankan      html  css  js  c++  java
  • A way to CQRS and DDD

    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, QueryFacade

    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 CQRS approach object flow diagram.

     

    7. DDD: As to DDD,

    Since there are different business domains, domain modeling methods vary.

    But there is indeed a common Pattern, the Order-> Order line item pattern, i.e. the item and subitem pattern.

    Any system is used to handle things, like the commerce models.

    A reference link: http://www.codeproject.com/Articles/555855/Introduction-to-CQRS

  • 相关阅读:
    收藏的日历js算法 很实用
    autofac system.core 的版本问题
    and 组件ui等
    vc相关
    live传264流
    录转rtsphan
    ndk errno
    cpp all记录
    and 录音等+live等
    cmake
  • 原文地址:https://www.cnblogs.com/hualiu0/p/5192904.html
Copyright © 2011-2022 走看看