--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
* More DDD
*Strategical* *patterns*
- Bounded Context- Ubiquitous Language
*Tactical* *patterns*
● Entities: do the stuff, generate events● Repositories: abstract the persistence ops● Aggregates: transactional clusters of entites ● keep them small ● refer other aggregates by ID ● change 1 aggregate per Tx ● persist entities + events in the same Tx (Transactional Outbox pattern)
: aggregate design is sometimes hard: need to thin about what can be eventual consistent: need to talk to frontend/PO