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
43
Lazy List With Generator and Iterator
nodew
1
660
An Introduction to Haskell
nodew
2
69
es6 proxy overview
nodew
1
49
Other Decks in Programming
See All in Programming
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
770
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
41
15k
Domain-Driven Transformation
hschwentner
2
1.9k
知られざるDMMデータエンジニアの生態 〜かつてツチノコと呼ばれし者〜
takaha4k
4
1.3k
2024年のWebフロントエンドのふりかえりと2025年
sakito
1
230
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
『GO』アプリ データ基盤のログ収集システムコスト削減
mot_techtalk
0
110
SwiftUI Viewの責務分離
elmetal
PRO
0
140
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
1
640
法律の脱レガシーに学ぶフロントエンド刷新
oguemon
5
730
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
200
【PHP】破壊的バージョンアップと戦った話〜決断と説得
satoshi256kbyte
0
120
Featured
See All Featured
Designing Experiences People Love
moore
139
23k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
240
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Navigating Team Friction
lara
183
15k
The Invisible Side of Design
smashingmag
299
50k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
YesSQL, Process and Tooling at Scale
rocio
171
14k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Unsuck your backbone
ammeep
669
57k
Facilitating Awesome Meetings
lara
51
6.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