Skip to content
Tagged articles

rich domain model

5 articles · Page 1 of 1
Internet Backend Architecture Stack
Internet Backend Architecture Stack
Aug 4, 2026 · Backend Development

Stop Writing Anemic Models: DDD Four-Layer Architecture for Enterprise Projects

This article explains how to implement DDD's four-layer architecture (Interface, Application, Domain, Infrastructure) to map bounded contexts to code structure, eliminate anemic domain models by embedding business logic in aggregates, enforce layer boundaries, and use domain events for cross-context communication, with Java package examples and common pitfalls.

Bounded ContextDDDJava
0 likes · 13 min read
Stop Writing Anemic Models: DDD Four-Layer Architecture for Enterprise Projects
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 ModelJavaService Layer
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.

DDDRepositoryarchitecture
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.

Clean Codeanemic modelcognitive cost
0 likes · 18 min read
How to Tame Software Complexity: Entropy, Constructal Law, and Design Strategies