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
Clean Architecture ~ 達人に学ぶソフトウェア構造と設計
Search
tomoya-kamaji
August 14, 2022
0
950
Clean Architecture ~ 達人に学ぶソフトウェア構造と設計
8月13日(土)【LT&交流会】Webエンジニアおすすめ本LT【オンライン】
tomoya-kamaji
August 14, 2022
Tweet
Share
More Decks by tomoya-kamaji
See All by tomoya-kamaji
デザインドックから学ぶ開発手法
tomoyakamaji
0
710
複雑な検索処理をElasticSearchで駆逐する
tomoyakamaji
0
1.1k
メンヘラコードをDIを使って駆逐する
tomoyakamaji
0
890
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
Writing Fast Ruby
sferik
628
61k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
440
Designing Experiences People Love
moore
138
23k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
A designer walks into a library…
pauljervisheath
204
24k
How GitHub (no longer) Works
holman
311
140k
Optimising Largest Contentful Paint
csswizardry
33
3k
Transcript
Clean Architecture ~
None
(27) 2021/6 Another works 2018/4 Sier
ෳۀΛ͍ͨ͠ਓͱෳۀਓࡐΛొ༻͍ͨ͠اۀ༷Λͭͳ͙ ϚονϯάϓϥοτϑΥʔϜ
Clean Architecture ~ ~ υϝΠϯ Ϣʔεέʔε Πϯϑϥ ϓϨθϯ ςʔγϣϯ ґଘͷ͖
υϝΠϯ Ϣʔεέʔε Πϯϑϥ ϓϨθϯ ςʔγϣϯ ґଘͷ͖
υϝΠϯ Ϣʔεέʔε Πϯϑϥ ϓϨθϯ ςʔγϣϯ ґଘͷ͖ • ex 1 3
20 • ex • ex Controller (Cli) ex MySQL SlackAPI
λεΫ ίϯτϩʔϥ υϝΠϯ Ϣʔεέʔε Πϯϑϥ ϓϨθϯ ςʔγϣϯ ґଘͷ͖ λεΫυϝΠϯ
λεΫΛొ͢ ΔϢʔεέʔε ͜ͷ͖ېࢭ
• UI ◦ Web UI UI UI • DB( )
◦ FireStore ElasticSearch • UI υϝΠϯ Ϣʔεέʔε Πϯϑϥ ϓϨθϯ ςʔγϣϯ ґଘͷ͖ DB ( )
υϝΠϯ Ϣʔεέʔε Πϯϑϥ ϓϨθϯ ςʔγϣϯ ґଘͷ͖
• • 20 • • API υϝΠϯ Ϣʔεέʔε Πϯϑϥ ϓϨθϯ
ςʔγϣϯ ґଘͷ͖
• 20 •
• Repository ( )
• • repository υϝΠϯ Ϣʔεέʔε Πϯϑϥ ϓϨθϯ ςʔγϣϯ ґଘͷ͖
• (MySQL TypeORM)
• WebAPI Express • MySqlTaskRepository
λεΫ ίϯτϩʔϥ λεΫΛొ͢ ΔϢʔεέʔε .Z42- 5BTL3FQPTJUPSZ ґଘੑͷೖ Ϗδωεཁ݅ λεΫυϝΠϯ
υϝΠϯ Ϣʔεέʔε Πϯϑϥ ϓϨθϯ ςʔγϣϯ ґଘͷ͖
• UI ◦ Web UI UI UI • DB( )
◦ FireStore ElasticSearch • UI υϝΠϯ Ϣʔεέʔε Πϯϑϥ ϓϨθϯ ςʔγϣϯ ґଘͷ͖ DB ( )