Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
What is "Entity" in DDD?
Search
kkeeth
March 10, 2020
Technology
0
180
What is "Entity" in DDD?
kkeeth
March 10, 2020
Tweet
Share
More Decks by kkeeth
See All by kkeeth
Programming to play with p5.js
clown0082
0
32
とある EM の初めての育休からの学び
clown0082
1
4.2k
The history of Javascript frameworks: changes in front-end design philosophy
clown0082
2
180
Visually experience the beauty of mathematics with p5.js
clown0082
1
3.1k
Rediscover the joy of coding with Creative Coding
clown0082
0
1.7k
全員が意思決定する会社で開発者体験や生産性を見る大変さについて
clown0082
0
620
JavaScript × Mathematics go to Digital Art
clown0082
1
400
In-house study group at YUMEMI
clown0082
0
210
Playing Ionic Logo by p5.js
clown0082
0
290
Other Decks in Technology
See All in Technology
RSCの時代にReactとフレームワークの境界を探る
uhyo
10
3.3k
2025年になってもまだMySQLが好き
yoku0825
8
4.6k
機械学習を扱うプラットフォーム開発と運用事例
lycorptech_jp
PRO
0
230
OCI Oracle Database Services新機能アップデート(2025/06-2025/08)
oracle4engineer
PRO
0
110
おやつは300円まで!の最適化を模索してみた
techtekt
PRO
0
290
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
10k
5分でカオスエンジニアリングを分かった気になろう
pandayumi
0
210
Webアプリケーションにオブザーバビリティを実装するRust入門ガイド
nwiizo
6
740
AWSを利用する上で知っておきたい名前解決のはなし(10分版)
nagisa53
10
3k
Flutterでキャッチしないエラーはどこに行く
taiju59
0
220
Webブラウザ向け動画配信プレイヤーの 大規模リプレイスから得た知見と学び
yud0uhu
0
230
開発者を支える Internal Developer Portal のイマとコレカラ / To-day and To-morrow of Internal Developer Portals: Supporting Developers
aoto
PRO
1
440
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
74
5k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
Side Projects
sachag
455
43k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
It's Worth the Effort
3n
187
28k
Designing for Performance
lara
610
69k
Music & Morning Musume
bryan
46
6.8k
RailsConf 2023
tenderlove
30
1.2k
Writing Fast Ruby
sferik
628
62k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Making Projects Easy
brettharned
117
6.4k
Transcript
What is “Entity” in DDD? k-kuwahara @kuwahara_jsri @clown0082 Mar 10,
2020 Active Book Dialogue @Yumemi
const my_info = { Workplace: ‘Yumemi Inc’, Position1: ‘Servant Leader
of FET’, Position2: ‘CEO(secondary)’, Community: ‘Riot.js, Ionic, DIST’, PokemonGO: ‘TL40’ } About me
npm/~kkeeth
github.com/riot
definition of “Entity”
embody Domain Model Domain Object definitin of “Entity”
embody Domain Model definitin of “Entity” Domain Object But, there
are 2 objects. So, “Value Object”, “Entity”
What is the difference between “Value Object” and “Entity”?
the difference Value Object Entity diff attributes/variables identity property immutability
valiability change exchange/substitution behavior
Value Object
Value Object Name: John Age: 32 Gender: Male Name: Emily
Age: 27 Gender: Female
Value Object Name: John Age: 32 Gender: Male Name: John
Age: 32 Gender: Male
Entity
Entity Name: John Age: 32 Gender: Male Name: Emily Age:
27 Gender: Female
Entity Name: John Age: 32 Gender: Male Name: John Age:
32 Gender: Male
How do “Entity” identify each other?
Entity ID: 12345 Name: John Age: 32 Gender: Male ID:
98765 Name: John Age: 32 Gender: Male
Entity ID: 12345 Name: John Age: 32 Gender: Male ID:
98765 Name: John Age: 32 Gender: Male identity identity ID: 12345 ID: 98765
Merits of “Entity”
merits of “Entity” Code is more documentable Make changes in
our domain easier to communicate to your code
merits of “Entity”
embody merits of “Entity”
Let’s join DDD!!
None