Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
What is "Entity" in DDD?
Search
kkeeth
March 10, 2020
Technology
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
What is "Entity" in DDD?
kkeeth
March 10, 2020
Transcript
24 slides
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
More Decks by kkeeth
See All by kkeeth
Programming to play with p5.js
clown0082
0
130
とある EM の初めての育休からの学び
clown0082
1
6.1k
The history of Javascript frameworks: changes in front-end design philosophy
clown0082
2
260
Visually experience the beauty of mathematics with p5.js
clown0082
1
3.4k
Rediscover the joy of coding with Creative Coding
clown0082
0
2k
全員が意思決定する会社で開発者体験や生産性を見る大変さについて
clown0082
0
690
JavaScript × Mathematics go to Digital Art
clown0082
1
490
In-house study group at YUMEMI
clown0082
0
250
Playing Ionic Logo by p5.js
clown0082
0
380
Other Decks in Technology
See All in Technology
常時稼働エージェントの作り方(Claude公式ブログを資料化)
minorun365
PRO
20
29k
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
1
180
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
3.6k
現地速報! Microsoft Ignite アップデートレポート
kasada
1
460
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
2
640
専門家に使ってもらうAIプロダクトをつくる - 病院の医事課向けDPCコーディング支援システムの設計と評価
hagino3000
4
1k
パスワードのない鍵で、 データを手元に置く
ginjihayashi
0
400
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
3
620
お風呂場をサーバルームにしよう
yusuke427
0
400
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
490
kubellの最新データ分析環境
kubell_hr
2
260
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
240
Featured
See All Featured
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
[SF Ruby Conf 2025] Rails X
palkan
3
1.6k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
570
Statistics for Hackers
jakevdp
799
230k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
410
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
500