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
ddd.pdf
Search
Joe Wang
July 09, 2018
Programming
0
190
ddd.pdf
Joe Wang
July 09, 2018
Tweet
Share
More Decks by Joe Wang
See All by Joe Wang
fastbuild-前端资源打包平台架构与设计及其他
nodew
0
200
An Introduction to Reactive Programming based on RxJS
nodew
0
45
Lazy List With Generator and Iterator
nodew
1
680
An Introduction to Haskell
nodew
2
71
es6 proxy overview
nodew
1
51
Other Decks in Programming
See All in Programming
Cursor Meetup Tokyo ゲノミクスとCursor: 進化と制約のあいだ
koido
2
970
The Evolution of Enterprise Java with Jakarta EE 11 and Beyond
ivargrimstad
1
600
ワイがおすすめする新潟の食 / 20250530phpconf-niigata-eve
kasacchiful
0
300
從零到一:搭建你的第一個 Observability 平台
blueswen
1
870
KotlinConf 2025 現地で感じたServer-Side Kotlin
n_takehata
1
200
Effect の双対、Coeffect
yukikurage
5
1.3k
単体テストの始め方/作り方
toms74209200
0
430
Go1.25からのGOMAXPROCS
kuro_kurorrr
0
120
実践ArchUnit ~実例による検証パターンの紹介~
ogiwarat
2
250
データベースコネクションプール(DBCP)の変遷と理解
fujikawa8
1
240
つよそうにふるまい、つよい成果を出すのなら、つよいのかもしれない
irof
1
280
「ElixirでIoT!!」のこれまでとこれから
takasehideki
0
350
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Art, The Web, and Tiny UX
lynnandtonic
299
21k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
It's Worth the Effort
3n
184
28k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Side Projects
sachag
454
42k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
16
910
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Automating Front-end Workflow
addyosmani
1370
200k
Transcript
DOMAIN DRIVEN DESIGN Joe Wang
ERIC EVANS 2003 http://domainlanguage.com/
Overview from wikipedia
So, What’s DDD?
Traditional Layer Architecture CONTROLL ER SERVICES DAO INDEX/ RESTFUL BUSINESS
LOGIC MODEL
DDD Architecture
DDD Architecture
A Real World Demo
The Difference - OO vs procedural programming - Rich model
vs anemic model - The placement of business logic - logic coherence vs dispersion - focus on business vs focus on implementation - extensibility - Domain model first vs DB first
Keywords of DDD - Bounded Context - Ubiquitous Language -
CI - Context Map
Some Concepts in DDD - Value Object - Entity -
Aggregate - Domain Event - Repository - Service - Factory
Some Concepts in DDD
DDD & GraphQL Use GraphQL as Endpoint GraphQL
DDD & MicroService
DDD & MicroService The boundary of a MicroService
DDD & MicroService The layer inside a MicroService