3 ms·
> requires commitment to a handful of golden rules or the entire thing comes crashing down What are the golden rules?
by mason55 7y ago
> requires commitment to a handful of golden rules or the entire thing comes crashing down
What are the golden rules?
- dmitryminkovsky 7y agoTwo bigs ones for me: - Don't use the read side from the write side. - Each aggregate should own its data (or more abstractly, the basics of DDD, bounded contexts[0]). [0]: https://cqrs.nu/Faq https://cqrs.nu/Faq
- eithed 7y agoEvery state change needs to be reflected as event. Does your function need to save something to DB? Then your functionality should create event which will perform the DB save.