π Day 2
Last updated
Last updated
Can be used for organizational purposes. Such as starting/ending a microservice.
nouns
Steps
Define Timeline
Define Events
Define entities
Define bounded context
As we begin to understand the users and commands and their relationship to events, we start to explore more complex systems and see how the architecture evolves.
not just data, it is a decision-making tool
timesheet example:
how to figure out a timesheet if you are three weeks late for updating?
google calendar
phone history
GitHub comment history
The user issues their commands based on the inbound information from the read models. Let's start identifying those.
Digging further, we uncover policies.
How is the system supposed to react to given events?
Whenever an event occurs, then the command.
Finally, we start to see collections of commands or states, etc, which we will call aggregates.
state machine logic
focus on behavior, not data
postpone naming