Rich domain model. What does that even mean? Why is it useful?

Codewrinkles
Codewrinkles
4.9 هزار بار بازدید - 2 سال پیش - We often hear talks about
We often hear talks about rich domain model and statements saying that a rich domain model is preferable to an anemic domain model. But what does that even mean? Why is this useful? In this video we try to answer this questions by refactoring from an anemic towards a rich domain model.
#SoftwareArchitecture #DotNet #DotNetCore

Chapters:
1. Intro: 00:00
2. Setup overview: 01:24
3. How an anemic domain model looks like: 03:31
4. Problem 1: Everybody can change the model to an invalid state: 06:28
5. Problem 2: business rules scattered across many classed and methods: 10:57
6. Refactoring towards a rich domain model: 14:54
7. Step 1: Encapsulation FTW: 15:31
6. Step 2: Single source of truth: 21:00
8. Step 3: Refactor collections: 26:00
9. Summary: 34:20
2 سال پیش در تاریخ 1400/11/17 منتشر شده است.
4,964 بـار بازدید شده
... بیشتر