Tagged articles
8 articles
Page 1 of 1
Architect's Journey
Architect's Journey
Jan 22, 2025 · Backend Development

Deep Dive into DDD Rich Model: Best Practices

The article explains the DDD rich (or active) model, its core characteristics, compares it with the anemic model, and shows how to apply it in a shared‑rental billing domain using Java, DDD layers, domain events, and a lightweight framework.

Backend ArchitectureDDDDomain Events
0 likes · 10 min read
Deep Dive into DDD Rich Model: Best Practices
JD Cloud Developers
JD Cloud Developers
Sep 26, 2023 · Backend Development

How Rich Models Supercharge DDD Entity Design and Boost Maintainability

Rich (or active) models embed behavior and aggregation relationships directly within DDD entities, contrasting with anemic models; this approach clarifies business logic, reduces glue code, and improves readability, though it can cause entity bloat, prompting strategies like external service classes, utility helpers, and careful injection handling.

Backend DevelopmentDDDEntity Design
0 likes · 6 min read
How Rich Models Supercharge DDD Entity Design and Boost Maintainability
DevOps
DevOps
Feb 17, 2023 · Backend Development

What Is a Domain? Key Concepts of Domain‑Driven Design Explained

This article explains the definition of a domain in Domain‑Driven Design, its relationship with contexts, challenges of persisting aggregates, the debate over rich versus anemic models, and practical guidelines for clear layering and handling many‑to‑many relationships in backend systems.

AggregatesDDDRich Model
0 likes · 9 min read
What Is a Domain? Key Concepts of Domain‑Driven Design Explained
Architecture Digest
Architecture Digest
Nov 13, 2021 · Fundamentals

Anemic vs. Rich Domain Models: Core Concepts of Domain‑Driven Design

The article explains the differences between the anemic (transaction‑script) and rich (domain‑model) approaches in DDD, discusses their historical origins, advantages, drawbacks, and provides guidance on when and how to apply each model in software design.

Domain-Driven DesignObject-Oriented DesignRich Model
0 likes · 9 min read
Anemic vs. Rich Domain Models: Core Concepts of Domain‑Driven Design
Programmer DD
Programmer DD
Apr 10, 2021 · Fundamentals

Why the Anemic Domain Model Is a Hidden Anti‑Pattern and How Rich Models Save You

This article examines the anemic (transaction‑script) versus rich (active) domain model patterns, explaining their origins, drawbacks, and benefits, and shows why embedding behavior in domain objects aligns with true object‑oriented design while over‑reliance on service layers leads to costly anti‑patterns.

Domain-Driven DesignObject-Oriented DesignRich Model
0 likes · 8 min read
Why the Anemic Domain Model Is a Hidden Anti‑Pattern and How Rich Models Save You
Top Architect
Top Architect
Mar 28, 2021 · Fundamentals

Anemic vs Rich Domain Model: Understanding DDD Concepts

The article explains the difference between anemic (transaction‑script) and rich (domain‑model) designs in DDD, outlines their historical origins, advantages and drawbacks, and argues why embedding behavior in domain objects aligns better with object‑oriented principles despite added complexity.

Domain-Driven DesignRich ModelSoftware Architecture
0 likes · 8 min read
Anemic vs Rich Domain Model: Understanding DDD Concepts
Architect
Architect
Mar 26, 2021 · Fundamentals

Anemic vs. Rich Domain Model: Core Concepts and Trade‑offs in Domain‑Driven Design

The article explains the fundamental differences between the anemic (transaction‑script) and rich (domain‑model) approaches in DDD, discusses their historical origins, advantages, disadvantages, and provides concrete examples to help developers decide when to apply each model in software architecture.

Domain-Driven DesignObject-Oriented DesignRich Model
0 likes · 8 min read
Anemic vs. Rich Domain Model: Core Concepts and Trade‑offs in Domain‑Driven Design