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

  • 相关阅读:
    Android应用增量更新
    corner2
    UIProject
    Argo
    flower-recognition
    Android-Chat-Widget
    leanchat-android
    Beautyacticle
    XianBicycle
    完整性约束(章节摘要)
  • 原文地址:https://www.cnblogs.com/hualiu0/p/5192904.html
Copyright © 2011-2022 走看看