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
59
Lazy List With Generator and Iterator
nodew
1
760
An Introduction to Haskell
nodew
2
94
es6 proxy overview
nodew
1
74
Other Decks in Programming
See All in Programming
net-httpのHTTP/2対応について
naruse
0
440
The NotImplementedError Problem in Ruby
koic
1
590
Swiftのレキシカルスコープ管理
kntkymt
0
210
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
750
SPMマルチモジュールで テストカバレッジを取得する技法
yosshi4486
0
140
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
310
CSC307 Lecture 17
javiergs
PRO
0
310
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
150
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
730
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
170
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
290
Featured
See All Featured
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
190
Test your architecture with Archunit
thirion
1
2.3k
Code Reviewing Like a Champion
maltzj
528
40k
The SEO identity crisis: Don't let AI make you average
varn
0
480
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Un-Boring Meetings
codingconduct
0
310
How to train your dragon (web standard)
notwaldorf
97
6.7k
Fireside Chat
paigeccino
42
3.9k
Designing Experiences People Love
moore
143
24k
Unsuck your backbone
ammeep
672
58k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
420
Optimizing for Happiness
mojombo
378
71k
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