Tagged articles

Rich Domain Model

4 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?
Tinker Programmer
Tinker Programmer
Jun 27, 2026 · Backend Development

What Real Problem Does DDD Solve? Cutting Through the Confusing Concepts

The article explains why traditional three‑layer architectures let business logic bloat inside services, demonstrates the pitfalls of anemic domain models with a 7,000‑line SalaryService example, and shows how DDD’s rich domain model restores rule ownership and maintainability.

Anemic Domain ModelDomain-Driven DesignRich Domain Model
0 likes · 10 min read
What Real Problem Does DDD Solve? Cutting Through the Confusing Concepts
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 8, 2025 · Backend Development

Master DDD: Practical Guide to Domain‑Driven Design Architecture with Code

This article introduces the fundamentals of Domain‑Driven Design (DDD), explains key concepts such as rich domain models, entities, value objects, aggregates, repositories, adapters, and application orchestration, and demonstrates their implementation through comprehensive Java code examples and a complete project structure diagram.

DDDDomain-Driven DesignRepository
0 likes · 15 min read
Master DDD: Practical Guide to Domain‑Driven Design Architecture with Code
ITPUB
ITPUB
Mar 21, 2022 · Fundamentals

How to Tame Software Complexity: Entropy, Constructal Law, and Design Strategies

This article explores why software systems inevitably become more entropic and complex, draws parallels with physical entropy and the Constructal Law, identifies sources of uncertainty, scale, and cognitive cost, and presents practical approaches such as isolating core kernels, adopting Domain‑Driven Design, and applying Clean Code principles to keep systems maintainable.

Anemic ModelRich Domain Modelclean code
0 likes · 18 min read
How to Tame Software Complexity: Entropy, Constructal Law, and Design Strategies