ContextMapper / contextmapper.github.io

The ContextMapper Documentation Page
https://contextmapper.org/
MIT License
14 stars 11 forks source link

Event sourcing and cqrs tutorial #31

Closed stefan-ka closed 4 years ago

stefan-ka commented 4 years ago

I commented within the files and suggested some changes.

An end-to-end example of event storming, from workshop results to CML to generated puml and MDSL would be great to have, how about the event storming reported here?

How are policies covered? See e.g. https://jaxenter.de/ddd-event-storming-50285 or https://blog.codecentric.de/2019/08/event-storming-gemeinsam-die-domaene-entdecken/

Event Storming tutorial was moved to another PR. Comment no longer relevant for this one.

stefan-ka commented 4 years ago

Looks good. Pls check my edits.

A few suggestions:

* I a missing a pointer to a video or preso from Greg Young, who come up with Event Sourcing arch. pattern?

* should we model this in Lakeside Mutual example, and link to it? (like it is done in other tutorial)

* should we explain how to model the Event Store and the Read Storage components from slide 44 in M. Ploed's preso? Two Repositories (that commucicate how? messaging system? db replication?)

* should we point to the Modelsward paper and the JUG presentation at the end? The two Fowler bliki posts already appear at the beginning.

@socadk 1) I added a link to a Youtube video of Greg Young. 2) I think we first have to improve the discovery library or model the Lakeside Mutual BCs manually. The current state is not good enough. Requires some time... Do we have to realize this now or can we create an issue for a future iteration? 3) Not sure how we would model this now. There must be an event handler that processes events and updates the read store automatically. Can we maybe update the tutorial later for such technical details? Maybe when we have an example (see 2). 4) I added the links as suggested (although they are not really event sourcing related, right?).