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
210
ddd.pdf
Joe Wang
July 09, 2018
Tweet
Share
More Decks by Joe Wang
See All by Joe Wang
fastbuild-前端资源打包平台架构与设计及其他
nodew
0
210
An Introduction to Reactive Programming based on RxJS
nodew
0
51
Lazy List With Generator and Iterator
nodew
1
730
An Introduction to Haskell
nodew
2
87
es6 proxy overview
nodew
1
62
Other Decks in Programming
See All in Programming
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
SourceGeneratorのススメ
htkym
0
190
高速開発のためのコード整理術
sutetotanuki
1
390
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
380
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
Vibe codingでおすすめの言語と開発手法
uyuki234
0
220
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
490
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
150
Implementation Patterns
denyspoltorak
0
280
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
120
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
110
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
320
30 Presentation Tips
portentint
PRO
1
210
Thoughts on Productivity
jonyablonski
74
5k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Are puppies a ranking factor?
jonoalderson
1
2.7k
AI: The stuff that nobody shows you
jnunemaker
PRO
2
240
Speed Design
sergeychernyshev
33
1.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
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