Tactical Design by Example - Using Kotlin and Spring Boot (Part 12) - Using Kotlin Delegates for Domain Events
Let's talk a little more about behavior vs data today. Imagine modelling a chess game, especially the part where a player makes a move. Behaviour This would be a simple model for making a move that could come up in an Event Storming. The command is the blue sticky, the aggregate is yellow, and the events are orange. When you look at it from a behaviour perspective, there are two different… [read more →]