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 BoundedContext
Search
petitviolet
November 22, 2017
Programming
1
120
DDD BoundedContext
What is `Bounded Context` in Domain Driven Design(DDD)
petitviolet
November 22, 2017
Tweet
Share
More Decks by petitviolet
See All by petitviolet
Stripeで請求書払い&銀行振込を実装する
petitviolet
0
1.2k
ピュアなドメインを支える技術/pure domain model and the technology behind it
petitviolet
14
9.8k
小さく始めるクラウドネイティブ/small start CloudNative
petitviolet
0
1.7k
2019年だからこそ12factor app/The Twelve-Factor app in 2019
petitviolet
1
970
実践GraphQL on Scala/Real world GraphQL on Scala
petitviolet
8
2.9k
Kubernetesを知る/Introduction Kubernertes
petitviolet
1
610
GraphQL on Scala
petitviolet
3
2.6k
Microservices Batch on GAE
petitviolet
0
1.9k
Web API Design
petitviolet
18
8.1k
Other Decks in Programming
See All in Programming
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
Better Code Design in PHP
afilina
PRO
0
130
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
1
110
Micro Frontends Unmasked Opportunities, Challenges, Alternatives
manfredsteyer
PRO
0
110
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
120
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
990
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
CSC509 Lecture 11
javiergs
PRO
0
180
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
300
初めてDefinitelyTypedにPRを出した話
syumai
0
420
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
150
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
Featured
See All Featured
Scaling GitHub
holman
458
140k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Building Adaptive Systems
keathley
38
2.3k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Agile that works and the tools we love
rasmusluckow
327
21k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
900
YesSQL, Process and Tooling at Scale
rocio
169
14k
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
Transcript
#PVOEFE$POUFYU ࠶ೖ !QFUJUWJPMFU
͓͠ͳ͕͖ w #PVOEFE$POUFYUͬͯͳʹ w Կ͕خ͍͠ʁ w #PVOEFE$POUFYUͷΓํ w ྫ͑ w
$POUFYUͷ౷߹ w ·ͱΊ
#PVOEFE$POUFYU ͬͯͳʹʁ
ఆٛͨ͠Ϟσϧ͕ ద༻͞ΕΔείʔϓ
#PVOEFE$POUFYUͱ w ఆٛͨ͠Ϟσϧ͕ద༻͞ΕΔείʔϓ w ϞσϧͷதʹͦͷϞσϧͷ֓೦ɺϧʔϧɺ ϢϏΩλεݴޠؚ͕·Ε͍ͯΔ w ผͷ$POUFYUʹ͓͍ͯద༻͞Εͳ͍ w $POUFYUͰϞσϧݫີʹҰ؏ੑΛอͭ
#PVOEFE$POUFYU Կ͕خ͍͠ʁ
͍είʔϓͰϞσϧΛద༻ WT ڱ͍είʔϓͰϞσϧΛద༻
͍είʔϓͰϞσϧΛద༻ WT ڱ͍είʔϓͰϞσϧΛద༻ ͲͪΒ͕ɺϞσϧ͕໌֬ʹͳΔ͔ ͲͪΒ͕ɺҰ؏ੑΛอ͍͔ͪ͢
#PVOEFE$POUFYUԿ͕خ͍͠ʁ w ʮ$POUFYUʯͱ͍͏ڥքΛҾ͘͜ͱʹΑͬͯɺԿ ʹҰ؏ੑΛ࣋ͨͤΔ͖Ͱ͋Δͷ͔͕໌֬ʹͳΔ w ࣗ༝ͳੈքΑΓదͳ੍ w ֎෦ͷ$POUFYUʹҙࣝΛ͚Δඞཁ͕ͳ͘ͳΓɺ ϞσϧΛ७ਮʹอͭ͜ͱ͕ग़དྷΔ
#PVOEFE$POUFYUԿ͕خ͍͠ʁ w $POUFYUͷଘࡏͰΤϯδχΞͷ͕࢟มΘΔʁ w Ϟσϧ͕ద༻͞ΕΔείʔϓ͕ڱ·Δ w Ұ؏ੑΛอ͖ͭείʔϓڱ·Δ w ڱ͍είʔϓ͔ͩΒͦ͜ݫີʹकΔ
#PVOEFE$POUFYU ͷΓํ
ͲΜͳ୯ҐͰΕ͍͍ʁ ΤϯςΟςΟԿݸ͘Β͍ʁ
ਖ਼ղͳ͍
ϢϏΩλεݴޠʹͳ͍Α͏ͳ֓೦Λ ϞσϧʹऔΓࠐΜͩΓɺ ͋Δ͍େࣄͳ֓೦Λ֎ʹग़ͨ͠Γ ͠ͳ͍Α͏ʹؾΛ͚Α͏ɻ
Ͳ͏ͬͯ#PVOEFE$POUFYUΛΔ͔ w ཧతʹΘ͚Δ w νʔϜฤ w ίʔυϕʔε w σʔλϕʔεεΩʔϚ w
FUD w $POUFYUࣗʹϢϏΩλεͳ໊લΛ͚ͭΔ w ଞͷ$POUFYUͱ໌֬ʹ۠ผ͢Δ
ͨͱ͑ ग़൛ࣾͷۀ
ग़൛ࣾͷۀ ॻ੶ͷ༰ΛҊͱͯ͠·ͱΊɺىҊ͢Δ ஶऀͱग़൛ܖΛ݁Ϳ ॻ੶ͷࣥචͱฤूͷϓϩηεΛཧ͢Δ ॻ੶ͷஸૠֆΛσβΠϯ͢Δ ॻ੶Λଞͷݴޠʹ༁͢Δ ࢴͷॻ੶ిࢠ൛Λ࡞͢Δ ॻ੶Λએ͢Δ ॻ੶Λ࠶ൢۀऀʹൢച͢Δ ࢴͷॻ੶Λ࠶ൢۀऀސ٬ʹग़ՙ͢Δ
ग़൛ࣾͷۀ ॻ੶ͷ༰ΛҊͱͯ͠·ͱΊɺىҊ͢Δ ஶऀͱग़൛ܖΛ݁Ϳ ॻ੶ͷࣥචͱฤूͷϓϩηεΛཧ͢Δ ॻ੶ͷஸૠֆΛσβΠϯ͢Δ ॻ੶Λଞͷݴޠʹ༁͢Δ ࢴͷॻ੶ిࢠ൛Λ࡞͢Δ ॻ੶Λએ͢Δ ॻ੶Λ࠶ൢۀऀʹൢച͢Δ ࢴͷॻ੶Λ࠶ൢۀऀސ٬ʹग़ՙ͢Δ
શͯผͷ$POUFYU
ग़൛ࣾͷۀ ॻ੶ͷ༰ΛҊͱͯ͠·ͱΊɺىҊ͢Δ ஶऀͱग़൛ܖΛ݁Ϳ ॻ੶ͷࣥචͱฤूͷϓϩηεΛཧ͢Δ ॻ੶ͷஸૠֆΛσβΠϯ͢Δ ॻ੶Λଞͷݴޠʹ༁͢Δ ࢴͷॻ੶ిࢠ൛Λ࡞͢Δ ॻ੶Λએ͢Δ ॻ੶Λ࠶ൢۀऀʹൢച͢Δ ࢴͷॻ੶Λ࠶ൢۀऀސ٬ʹग़ՙ͢Δ
ग़൛ࣾͷۀ ॻ੶ͷ༰ΛҊͱͯ͠·ͱΊɺىҊ͢Δ ஶऀͱग़൛ܖΛ݁Ϳ ॻ੶ͷࣥචͱฤूͷϓϩηεΛཧ͢Δ ॻ੶ͷஸૠֆΛσβΠϯ͢Δ ॻ੶Λଞͷݴޠʹ༁͢Δ ࢴͷॻ੶ిࢠ൛Λ࡞͢Δ ॻ੶Λએ͢Δ ॻ੶Λ࠶ൢۀऀʹൢച͢Δ ࢴͷॻ੶Λ࠶ൢۀऀސ٬ʹग़ՙ͢Δ
ʮॻ੶ʯ શ෦ಉ͡ͷʁ
ग़൛ࣾͷۀ w ʮॻ੶ʯ w ಉ͡ݴ༿͚ͩͲಉ͡ͷͰͳ͍ w ֤$POUFYUʹ͓͍ͯఆ͕ٛҧ͏ w ࣥචϓϩηεͷॻ੶ w
ߘɺίϝϯτɺߍਖ਼ɺFUD w ग़ՙϓϩηεͷॻ੶ w ݿͷҐஔɺࡏݿɺαΠζɺFUD w ಉࣝ͡ผࢠΛڞ༗ͯ͠Մೳʹ͢Δ͕ɺ ֤$POUFYUʹ͓͚Δʮॻ੶ʯΛද͢ϞσϧҟͳΔ
$POUFYUͷ౷߹
$POUFYUͷ౷߹ w #PVOEFE$POUFYUͰۀΛΓ͚ͨ w ͡Ό͋Ͳ͏ͬͯ࿈ܞ͢Δ͔ w ίϯςΩετϚοϓ w ౷߹ύλʔϯ
ίϯςΩετϚοϓ
ίϯςΩετϚοϓ w ϓϩδΣΫτʹؔΘΔڥք͚ΒΕͨίϯςΩε τͱͦΕΒͷ౷߹ؔΛࣔ͢ͷ w طଘͷγεςϜͷશΛѲͰ͖Δ w ίϛϡχέʔγϣϯ͕ඞཁͳνʔϜΛಛఆ͢Δ w 6QTUSFBN%PXOTUSFBN
w ্ྲྀԼྲྀ
$POUFYU౷߹ύλʔϯ
$POUFYU౷߹ύλʔϯ w ύʔτφʔγοϓ w ୯ҰͷίϯςΩετ w ڞ༗Χʔωϧ w ެ։ϗεταʔϏε w
ސ٬ڙڅऀ w ॱԠऀ w ഊࢭ w ผʑͷಓ
$POUFYU౷߹ύλʔϯ w ύʔτφʔγοϓ w ୯ҰͷίϯςΩετ w ڞ༗Χʔωϧ w ެ։ϗεταʔϏε w
ސ٬ڙڅऀ w ॱԠऀ w ഊࢭ w ผʑͷಓ ޭࣦഊͷӡ໋Λڞʹ͢Δ νʔϜؒͰڠྗؔΛங͘ඞཁ͕͋Δ
$POUFYU౷߹ύλʔϯ w ύʔτφʔγοϓ w ୯ҰͷίϯςΩετ w ڞ༗Χʔωϧ w ެ։ϗεταʔϏε w
ސ٬ڙڅऀ w ॱԠऀ w ഊࢭ w ผʑͷಓ ίϯςΩετ͕ͭɻҎ্ɻ
$POUFYU౷߹ύλʔϯ w ύʔτφʔγοϓ w ୯ҰͷίϯςΩετ w ڞ༗Χʔωϧ w ެ։ϗεταʔϏε w
ސ٬ڙڅऀ w ॱԠऀ w ഊࢭ w ผʑͷಓ ͭͷίϯςΩετΛ ෳͷίϯςΩετ͕ࢀর
$POUFYU౷߹ύλʔϯ w ύʔτφʔγοϓ w ୯ҰͷίϯςΩετ w ڞ༗Χʔωϧ w ެ։ϗεταʔϏε w
ސ٬ڙڅऀ w ॱԠऀ w ഊࢭ w ผʑͷಓ ΞΫηε͢ΔͨΊͷ ϓϩτίϧΛެ։͢Δ
$POUFYU౷߹ύλʔϯ w ύʔτφʔγοϓ w ୯ҰͷίϯςΩετ w ڞ༗Χʔωϧ w ެ։ϗεταʔϏε w
ސ٬ڙڅऀ w ॱԠऀ w ഊࢭ w ผʑͷಓ ্ྲྀͱԼྲྀʹΘ͔Εͯ Լྲྀͷ݁Ռʹ্ྲྀ͕ίϛοτ͢Δ
$POUFYU౷߹ύλʔϯ w ύʔτφʔγοϓ w ୯ҰͷίϯςΩετ w ڞ༗Χʔωϧ w ެ։ϗεταʔϏε w
ސ٬ڙڅऀ w ॱԠऀ w ഊࢭ w ผʑͷಓ ্ྲྀͱԼྲྀʹΘ͔ΕΔ͕ Լྲ্ྀྲྀʹ߹ΘͤΔ͔͠ͳ͍
$POUFYU౷߹ύλʔϯ w ύʔτφʔγοϓ w ୯ҰͷίϯςΩετ w ڞ༗Χʔωϧ w ެ։ϗεταʔϏε w
ސ٬ڙڅऀ w ॱԠऀ w ഊࢭ w ผʑͷಓ ্ྲྀΛִ͢ΔͨΊͷ มΛ௨ͯ͠ Լྲ্ྀ͕ྲྀΛར༻͢Δ
$POUFYU౷߹ύλʔϯ w ύʔτφʔγοϓ w ୯ҰͷίϯςΩετ w ڞ༗Χʔωϧ w ެ։ϗεταʔϏε w
ސ٬ڙڅऀ w ॱԠऀ w ഊࢭ w ผʑͷಓ ౷߹ఘΊΔ
$POUFYU౷߹ύλʔϯ w ύʔτφʔγοϓ w ୯ҰͷίϯςΩετ w ڞ༗Χʔωϧ w ެ։ϗεταʔϏε w
ސ٬ڙڅऀ w ॱԠऀ w ഊࢭ w ผʑͷಓ ౷߹ύλʔϯΛࢀߟʹ ίϯςΩετɾνʔϜͷؔΛ໌֬ʹͯ͠ ͏·͘࿈ܞ͍ͯ͘͜͠ͱ͕େࣄ
·ͱΊ
#PVOEFE$POUFYU ҰମͳΜͩͬͨͷ͔
#PVOEFE$POUFYUҰମͳΜͩͬͨͷ͔ w ఆٛ͢ΔϞσϧ͕ద༻͞ΕΔείʔϓ w ϞσϧΛΑΓ໌֬ʹ͢ΔͨΊ w ίϯςΩετϚοϓΛඳ͘ w શମΛ၆ᛌ͠ɺίϛϡχέʔγϣϯ͢Δ w
ίϯςΩετΛ౷߹͢Δ w Ͳ͏࿈ܞ͢Δ͔Λ໌Β͔ʹ
େنγεςϜ։ൃΛ νʔϜʹΘ͔Εͯ ࿈ܞ͍ͯͨ͘͠Ίͷ֓೦
֤νʔϜ Ϟσϧίϛϡχέʔγϣϯʹ͍ͭͯ ߟ͑Δ͜ͱ͕ݮΔ WT ཧతʹΘ͔ΕΔͷͰ ௐͱ͔σϓϩΠͱ͔ӡ༻ͱ͔Ͱ ߟ͑Δ͜ͱ͕૿͑Δ
None