Domain-Driven Design, part 3 — Simplify Object Model

Model

Concrete Associations

Entities

Identity

Cart Entities

Value Objects

Identity and identifier

Cart Value Objects

Aggregates

Cart Aggregates

Separated aggregates

Benefits

  • Easy to understand
  • Easy to test
  • Easy to persist

Problems

TL;DR

References

Contact

--

--

--

Developer interested in Domain-Driven Design & Modeling

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

iOS App Security

PORK: A Technology Resilience Framework

Go beyond the basics of the request package in python

Explore the possibilities with hundreds of domain extensions — {link} -

No money, No Problem!

Heapsort — the importance of understanding Binary Tree

Heapsort — a Min Heap example image

CORS-less Cross-Origin Requests

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Svaťa Šimara

Svaťa Šimara

Developer interested in Domain-Driven Design & Modeling

More from Medium

Siren Song

Dependency Injection Vs Dependency Inversion Vs Inversion of Control, Let’s set the Record Straight

Anemic Domain Model vs Rich Domain Model

Fail faster, run safer!