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
170
An Introduction to Reactive Programming based on RxJS
nodew
0
37
Lazy List With Generator and Iterator
nodew
1
550
An Introduction to Haskell
nodew
2
68
es6 proxy overview
nodew
1
47
Other Decks in Programming
See All in Programming
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
490
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
360
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
Apache Hive 4 on Treasure Data
ryukobayashi
0
340
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
210
Git Rebase
bkuhlmann
11
1.6k
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
190
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
2
820
1BRC--Nerd Sniping the Java Community
gunnarmorling
0
340
SIMD Parallel Programming with the Vector API
josepaumard
0
180
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4.1k
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
180
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
2
3.4k
Happy Clients
brianwarren
92
6.4k
For a Future-Friendly Web
brad_frost
172
9k
Mobile First: as difficult as doing things right
swwweet
216
8.6k
KATA
mclloyd
15
12k
Statistics for Hackers
jakevdp
789
220k
RailsConf 2023
tenderlove
4
540
Writing Fast Ruby
sferik
621
60k
Building Your Own Lightsaber
phodgson
99
5.7k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
78
43k
Designing for Performance
lara
601
67k
Code Reviewing Like a Champion
maltzj
514
39k
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