Checklist on following DDD
The checklist that can determine whether we are following proper Domain Driven Development standards;
- Each service will have independent domain entities.
- Entities should be different for each service. There is no comparison, each entity works differently for different purposes.
- One command to one aggregate root. One entrypoint for each command.
- Are we reading more than what we supposed to read?
- The event store should capture only necessary events into event store that should have some purpose. Unnecessary events might pile up the cloud space.
- List out all the valid events with valid reasons and sent to stake holders to validate their existence in the system.
- List of the domain validations and send to the stake holders for validating them.
- Failure mode analysis to be performed.
Comments