Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC-7772 Add DDD documentation. #38

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
typo
  • Loading branch information
CeEv committed Aug 28, 2024
commit 4ea0465bd3e51182a9ec02719a942c463abfb2f4
8 changes: 4 additions & 4 deletions docs/Informations/domain-driven-design.md
Original file line number Diff line number Diff line change
@@ -16,12 +16,12 @@ This include a lot more then only DDD, but DDD support us that the DDD layer, t
- https://martinfowler.com/bliki/EvansClassification.html [1]

### Entity (Domain Object)
In our backend code we use microORM as ORM for our database.
The datarecords from the microORM are marked as Entities, therefore we hat a decorator and name conflict,
with the real DDD entity. We solve it by calling the DDD entities "domain object".

"Objects that have a distinct identity that runs through time and different representations. You also hear these called 'reference objects'."[1]

#### Note
In our backend code we use microORM as ORM for our database.
The datarecords from the microORM are marked as Entities from the framework it self. Therefore we had a decorator name and name conflict with the real DDD entity. We solve it by calling the DDD entities in our project "domain object".

### Value Object
"Objects that matter only as the combination of their attributes. Two value objects with the same values for all their attributes are considered equal. I also describe value objects in P of EAA." [1]