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
180
ddd.pdf
Joe Wang
July 09, 2018
Tweet
Share
More Decks by Joe Wang
See All by Joe Wang
fastbuild-前端资源打包平台架构与设计及其他
nodew
0
190
An Introduction to Reactive Programming based on RxJS
nodew
0
43
Lazy List With Generator and Iterator
nodew
1
630
An Introduction to Haskell
nodew
2
68
es6 proxy overview
nodew
1
47
Other Decks in Programming
See All in Programming
讓數據說話:用 Python、Prometheus 和 Grafana 講故事
eddie
0
350
RailsのPull requestsのレビューの時に私が考えていること
yahonda
5
1.7k
C#/.NETのこれまでのふりかえり
tomokusaba
1
160
macOS でできる リアルタイム動画像処理
biacco42
7
1.9k
Dev ContainersとGitHub Codespacesの素敵な関係
ymd65536
1
130
Android 15 でアクションバー表示時にステータスバーが白くなってしまう問題
tonionagauzzi
0
140
[PyCon Korea 2024 Keynote] 커뮤니티와 파이썬, 그리고 우리
beomi
0
110
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
230
PLoP 2024: The evolution of the microservice architecture pattern language
cer
PRO
0
1.7k
プロジェクト新規参入者のリードタイム短縮の観点から見る、品質の高いコードとアーキテクチャを保つメリット
d_endo
1
1k
CSC509 Lecture 09
javiergs
PRO
0
110
AWS IaCの注目アップデート 2024年10月版
konokenj
3
3.1k
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
296
20k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
Building Adaptive Systems
keathley
38
2.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
790
Happy Clients
brianwarren
97
6.7k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
4 Signs Your Business is Dying
shpigford
180
21k
Side Projects
sachag
452
42k
Designing Experiences People Love
moore
138
23k
GraphQLの誤解/rethinking-graphql
sonatard
66
9.9k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
What's in a price? How to price your products and services
michaelherold
243
12k
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