Tagged articles

Domain Objects

1 articles · Page 1 of 1
samdeepthink
samdeepthink
Jul 24, 2026 · Backend Development

When Should Domain Objects Contain Methods in a Rich DDD Model?

The article defines a clear rule for placing methods in DDD aggregates: a method belongs inside the domain object only when it can operate solely on data owned by that object, illustrated with order status and marketing activity examples.

Aggregate rootDDDDomain Objects
0 likes · 4 min read
When Should Domain Objects Contain Methods in a Rich DDD Model?