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
エンティティリレー
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
l-freeze
October 09, 2024
0
28
エンティティリレー
l-freeze
October 09, 2024
Tweet
Share
More Decks by l-freeze
See All by l-freeze
referential-transparency
lfz
0
17
CQRS そして現実へ
lfz
0
50
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Documentation Writing (for coders)
carmenintech
77
5.2k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
So, you think you're a good person
axbom
PRO
2
1.9k
Building the Perfect Custom Keyboard
takai
2
680
Amusing Abliteration
ianozsvald
0
96
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
96
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
New Earth Scene 8
popppiees
1
1.5k
Transcript
エンティティリレー
エンティティリレーとは? • エンティティは識別可能な情報モデルの事 • リレーは引き継いで行く、繋いで行く事 陸上競技のリレーならバトンを次の走者に繋いできますね 前の走者にバトンを渡すこともありませんね
エンティティをリレーせずに人の成長を表現してみると 番号:1 名前:猫山さん 性別:男 年齢:0 職業:新生児 番号:1 名前:猫山さん 性別:男 年齢:4
職業:幼稚園児 番号:1 名前:猫山さん 性別:男 年齢:7 職業:小学生 番号:1 名前:猫山さん 性別:男 年齢:13 職業:中学生
エンティティをリレーすると 番号:1 名前:猫山さん 性別:男 年齢:0 生まれたぜ 番号:1 名前:猫山さん 性別:男 年齢:4
幼稚園児です 番号:1 名前:猫山さん 性別:男 年齢:7 小学生に なりました 番号:1 名前:猫山さん 性別:男 年齢:7 中学生ですけ ど?
何が変わった?(リレーなし) 人が持つ情報を見れば名前・性別・年齢・職業が分かる
何が変わった?(リレーあり) 持っている情報を見なくても職業が分かるようになった
エンティティリレーが有効な条件を考えてみよう エンティティとは固有識別可能なモノが情報や状態を持っている リレーは不可逆 という事は? オンラインショッピング ・選択中の商品 → 会計済み商品 → 発送済みの商品
→ 返品済みの商品 面接試験 ・応募した → 一次面接通過 → 二次面接通過 → 最終面接通過
エンティティリレーを用いて面接を表現してみると エンティティリレーの説明用 https://github.com/l-freeze/entity-relay-ts