GithubHelp home page GithubHelp logo

ddd-crew / domain-message-flow-modelling Goto Github PK

View Code? Open in Web Editor NEW
348.0 22.0 30.0 2.18 MB

Design & visualise the flow of commands, events, and queries between your bounded contexts

License: Creative Commons Attribution Share Alike 4.0 International

architecture domain-driven-design software-design tactical-design-patterns

domain-message-flow-modelling's People

Contributors

alexzeitler avatar ntcoding avatar yellowbrickc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

domain-message-flow-modelling's Issues

Differentiation between Queries and Views/Responses

Hi,

IIUC, the pattern language is very similar to EventStorming. In EventStorming, as in Domain Message Flow Modelling, Queries are green-ish stickies. What I don't understand is how to use them for visualizing flows.

Together with a Query, there is always a View or a Response. In my opinion, it can be required/helpful to visualize the two separately. A Query has a certain message body, same as a View/Response.

Would be great if you could explain the intended use in the README, maybe with an example.
Alternatively, if you can explain how it is meant to be, I can also create an MR.

Thanks!

How to model integration based on events compared to commands?

Hey ddd-crew,

in preparation of a workshop, I did a modeling test run. During this test a question came to my mind.

How do you model an event-based integration between two bounded contexts (BC A and BC B) with a domain message flow diagram? The command-based integration is easy. BC A sends a message to BC B.

But what if we aim for an approach based on an event-based integration. In this case BC A emits an event that BC B is subsribed to?

Lets make it a bit more explicit based on the example in this repo:

  • The sales BC is subscribed to "Payment collected" events
  • The billing BC emits the event "Payment collected"

Looking into the language in the example, step 5 gives me the hint that we are integrating based on events (Payment collected). But the arrow-direction from the billing BC to the sales BC confuses me a bit. This would suggest command-based integration rather than event-based integration. I would not expect a direct connection from the billing BC to the sales BC when using events.

What do you think? How do you visualize event based integrations?

Best,
Christian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.