September 2023
Intermediate to advanced
470 pages
11h 12m
English
So far, we’ve discussed the Event Sourcing pattern and how it works, with some examples, and now we need to design our specific domain using them. In the beginning, it can be challenging to model a domain using immutable states and events rather than using mutable objects, but I can assure you that once you and your team get used to thinking in terms of what has happened and why, mapping a business domain to states and events will become very natural.
In my experience, modeling a domain with event sourcing keeps our source code closer to what actually happens in the real world rather than trying to abstract a model.
We talked about Validating Our Stories with Event Storming which, if you squint enough, ...
Read now
Unlock full access