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
Technically DDD
Search
pelshoff
July 06, 2017
Programming
1
130
Technically DDD
pelshoff
July 06, 2017
Tweet
Share
More Decks by pelshoff
See All by pelshoff
Push your side effects to the edge
pelshoff
0
37
Testing Absolute Units
pelshoff
0
56
Confidently Insured
pelshoff
0
120
Final Class Aggregate
pelshoff
0
190
Technically DDD v10
pelshoff
0
110
From Conversation to Software v3
pelshoff
0
54
TDD, DDD & Teamwork v2
pelshoff
0
100
Technically DDD C# v10
pelshoff
1
170
A Practical Introduction to Domain Driven Design
pelshoff
4
180
Other Decks in Programming
See All in Programming
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
22
15k
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
270
Javaエンジニアのための Nodejs/Nuxt3入門
hidekatsu_izuno
0
280
HUIT新歓2024「競技プログラミング、やってみませんか?」
slephy2784
1
250
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
350
チームでモデリングを育てるうえで 考えたこと・気づいたこと / Cultivating Modeling in Teams: Thoughts and Insights
mackey0225
7
4.1k
From Spring Boot 2 to Spring Boot 3 with Java 21 and Jakarta EE
ivargrimstad
0
1.1k
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
220
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
100
Folding Cheat Sheet #3
philipschwarz
PRO
0
110
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
160
プールにゆこう
irof
2
120
Featured
See All Featured
Bash Introduction
62gerente
604
210k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Automating Front-end Workflow
addyosmani
1354
200k
Practical Orchestrator
shlominoach
181
9.7k
Six Lessons from altMBA
skipperchong
19
3k
Learning to Love Humans: Emotional Interface Design
aarron
266
39k
Facilitating Awesome Meetings
lara
40
5.6k
Designing the Hi-DPI Web
ddemaree
276
33k
Rebuilding a faster, lazier Slack
samanthasiow
72
8.2k
The Cult of Friendly URLs
andyhume
73
5.7k
Scaling GitHub
holman
457
140k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Transcript
None
Technically DDD DDDDeventer, 2017-07-06 19:45:00.000000
Pim Elshoff developer.procurios.com @pelshoff
None
None
Questions?
None
Context
Value objects
None
None
Value objects • Express a value • Business rules here
• Immutable • Easy to unit test
Entities
None
Entities • Have identity • More than the sum of
their attributes • Evolve over time • If there really really really is no VO possible, then business rules here • Slightly harder to test
Services
None
Services • No identity or attributes (Not a “thing”) •
Cross-concern operations • Business rules that need more data than any single entity knows • Harder to test
Aggregates
None
Aggregates • Collection of objects • Interaction through root •
If there really really really is no VO possible, then business rules here • Harder to test
Repositories
Repositories • Collection of all objects of a type
final class Address
final class BicycleService
final class StreetAddress
final class Investment
None
None
Meetings cannot end before they start
None
None
None
None
None
Program slots cannot occur in the same room at the
same time
None
None
None
None
None
None
None
None
Program slots must occur within the duration of the meeting
None
Pim Elshoff developer.procurios.com @pelshoff