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
48
Lazy List With Generator and Iterator
nodew
1
700
An Introduction to Haskell
nodew
2
76
es6 proxy overview
nodew
1
53
Other Decks in Programming
See All in Programming
Android 16 × Jetpack Composeで縦書きテキストエディタを作ろう / Vertical Text Editor with Compose on Android 16
cc4966
2
270
ファインディ株式会社におけるMCP活用とサービス開発
starfish719
0
2.1k
「待たせ上手」なスケルトンスクリーン、 そのUXの裏側
teamlab
PRO
0
610
RDoc meets YARD
okuramasafumi
4
170
個人開発で徳島大学生60%以上の心を掴んだアプリ、そして手放した話
akidon0000
1
160
複雑なドメインに挑む.pdf
yukisakai1225
5
1.2k
速いWebフレームワークを作る
yusukebe
5
1.7k
Design Foundational Data Engineering Observability
sucitw
3
210
Namespace and Its Future
tagomoris
6
710
go test -json そして testing.T.Attr / Kyoto.go #63
utgwkk
3
320
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
110
知っているようで知らない"rails new"の世界 / The World of "rails new" You Think You Know but Don't
luccafort
PRO
1
190
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
Speed Design
sergeychernyshev
32
1.1k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The Cult of Friendly URLs
andyhume
79
6.6k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
930
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
530
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
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