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
710
An Introduction to Haskell
nodew
2
76
es6 proxy overview
nodew
1
53
Other Decks in Programming
See All in Programming
組込みだけじゃない!TinyGo で始める無料クラウド開発入門
otakakot
2
370
EMこそClaude Codeでコード調査しよう
shibayu36
0
370
Claude CodeによるAI駆動開発の実践 〜そこから見えてきたこれからのプログラミング〜
iriikeita
0
320
マンガアプリViewerの大画面対応を考える
kk__777
0
150
理論と実務のギャップを超える
eycjur
0
180
Vueのバリデーション、結局どれを選べばいい? ― 自作バリデーションの限界と、脱却までの道のり ― / Which Vue Validation Library Should We Really Use? The Limits of Self-Made Validation and How I Finally Moved On
neginasu
2
1.4k
開発組織の戦略的な役割と 設計スキル向上の効果
masuda220
PRO
8
1.5k
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
360
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
nakita628
0
310
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
250
Catch Up: Go Style Guide Update
andpad
0
250
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Code Reviewing Like a Champion
maltzj
526
40k
Agile that works and the tools we love
rasmusluckow
331
21k
Done Done
chrislema
185
16k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
The Pragmatic Product Professional
lauravandoore
36
7k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
We Have a Design System, Now What?
morganepeng
53
7.8k
How to Ace a Technical Interview
jacobian
280
24k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
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