DomainDrivenDesign 04
DomainDrivenDesign 04
Module Overview
Domain Events
Event Storming
Extreme Modeling
1
D o m a i n D r i v e n D e s i g n
Domain Events
Eric Evans
DDD Author
“An event is something that has happened in the past. A domain event is,
something that happened in the domain that you want other parts of the same
domain (in-process) to be aware of. The notified parts usually react somehow to the
events.
For example, if you're just using Entity Framework and there must be a reaction to
some event, you would probably code whatever you need close to what triggers the
event. So, the rule gets coupled, implicitly, to the code, and you must investigate
the code to, hopefully, realize the rule is implemented there.”
2
D o m a i n D r i v e n D e s i g n
Domain Events
3
D o m a i n D r i v e n D e s i g n
Event Storming
4
D o m a i n D r i v e n D e s i g n
Extreme Modeling
5
D o m a i n D r i v e n D e s i g n
Immersive Collaboration: D3X fosters Visual Modeling Techniques: D3X Rapid Prototyping and Feedback: D3X
a high level of collaboration between utilizes visual modeling techniques to leverages rapid prototyping and
domain experts and development express the domain concepts, feedback loops to validate and refine
teams. By bringing stakeholders relationships, and behaviors. These the model. By quickly translating the
together in a focused and interactive techniques include event storming, domain model into working
environment, D3X promotes real- process modeling, behavior-driven prototypes or proofs of concept, the
time exchange of knowledge, ideas, development (BDD), and user story team can gather feedback from
and insights. This collaborative effort mapping. Visual models help stakeholders and iterate on the
helps bridge the gap between stakeholders and team members design. This iterative feedback loop
domain understanding and software better understand the domain, align helps uncover potential issues,
design, ensuring a shared vision of their mental models, and identify validate assumptions, and refine the
the solution potential areas of improvement. model further
Conclusion
7
Who else needs
some coffee ?
Domain Driven Design
8
• Mod_TR_019_R2_0118
Technical Training
Let’s do it