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
180
An Introduction to Reactive Programming based on RxJS
nodew
0
43
Lazy List With Generator and Iterator
nodew
1
600
An Introduction to Haskell
nodew
2
68
es6 proxy overview
nodew
1
47
Other Decks in Programming
See All in Programming
From Idea to IDE: Developing Plugins for Android Studio
thisaay
1
220
全部見せます! クラシルリワードのSwiftTesting移行プロジェクト
uetyo
0
210
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
0
120
僕が思い描くTypeScriptの未来を勝手に先取りする
yukukotani
9
2.4k
The Sequel to a Dream of Ruby Parser's Grammar
ydah
1
220
Our Websites Need a Lifestyle Change, Not a Diet
ryantownsend
0
150
メモリ最適化を究める!iOSアプリ開発における5つの重要なポイント
yhirakawa333
0
420
[DroidKaigi 2024] Android ViewからJetpack Composeへ 〜Jetpack Compose移行のすゝめ〜 / From Android View to Jetpack Compose: A Guide to Migration
syarihu
1
640
GenU導入でCDKに初挑戦し、悪戦苦闘した話
hideg
0
170
Google Sign-inの移行から始めるCredential Manager活用
clockvoid
0
310
Regular Expressions, REXML, Automata Learning
makenowjust
0
220
2024 컴포즈 정원사
jisungbin
0
150
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
93
13k
Music & Morning Musume
bryan
46
6k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
5
480
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
25
3.9k
Happy Clients
brianwarren
96
6.6k
Into the Great Unknown - MozCon
thekraken
29
1.4k
How STYLIGHT went responsive
nonsquared
93
5.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
190
16k
Adopting Sorbet at Scale
ufuk
73
8.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
363
22k
The Language of Interfaces
destraynor
153
23k
Designing with Data
zakiwarfel
98
5k
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