Domain Modelling Using Event Storming
Gather all domain experts and developers in a room, provide them with a paper roll, lots of colored post-its and a facilitator and they may in hours create the best model ever, Alberto Brandolini suggested at the recent DDD Exchange conference in London.
Alberto, a DDD and agile trainer, describes event storming as a meeting where you put all the key stakeholders in the same room with an unlimited modelling space using stickers as domain events. The people to invite should be those who bring the questions and those who know the answers.
Alberto compares this with a walking skeleton for an implementation where you want to touch all important components as early as possible to discover any potential problems. In modelling it’s about touching all relevant people as soon as possible with the value lying in the interaction between people, each one should interact with each of all the others.
This is an exploratory process, where Alberto wants to avoid all constraints as much as possible. He wants full attention and therefore makes it hard to do other things; no one sits down, no laptops or other potentially disturbing elements.
Alberto has found it powerful to focus on domain events, a verb of the past which describes a state transition and this is so easy that all can participate and contribute to the model. With all key events described and put along a timeline it’s easy to get people tell stories to describe concrete scenarios and edge cases. By following the story in the model inconsistencies can be found which can improve the model. An advantage Alberto really likes is that data is not discussed, no data models or databases, just the process.
A model Alberto thinks few people have seen is a system view of the whole company. Creating this model makes it easier for domain experts to realize how to improve the whole system.
Next year’s DDD Exchange is scheduled for 19th June 2015 and registration is open.
Martin Thompson Jul 27, 2014