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
220
0
Share
ddd.pdf
Joe Wang
July 09, 2018
More Decks by Joe Wang
See All by Joe Wang
fastbuild-前端资源打包平台架构与设计及其他
nodew
0
220
An Introduction to Reactive Programming based on RxJS
nodew
0
58
Lazy List With Generator and Iterator
nodew
1
750
An Introduction to Haskell
nodew
2
94
es6 proxy overview
nodew
1
74
Other Decks in Programming
See All in Programming
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
120
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
330
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.1k
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.3k
色即是空、空即是色、データサイエンス
kamoneggi
1
250
AI時代のUIはどこへ行く?その2!
yusukebe
16
5.5k
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
430
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
1
620
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
3
1.4k
[KCD Czech] eBPF Meets the GPU: Future of AI Infra Observability
doniacld
0
130
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
110
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
11k
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
150
Visualization
eitanlees
152
17k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
430
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
280
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
What's in a price? How to price your products and services
michaelherold
247
13k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
190
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
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