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
990
Clean Architecture ~ 達人に学ぶソフトウェア構造と設計
8月13日(土)【LT&交流会】Webエンジニアおすすめ本LT【オンライン】
tomoya-kamaji
August 14, 2022
Tweet
Share
More Decks by tomoya-kamaji
See All by tomoya-kamaji
AI時代に学習する意味はあるのか?
tomoyakamaji
0
96
デザインドックから学ぶ開発手法
tomoyakamaji
0
810
複雑な検索処理をElasticSearchで駆逐する
tomoyakamaji
0
1.1k
メンヘラコードをDIを使って駆逐する
tomoyakamaji
0
920
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
480
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
GraphQLとの向き合い方2022年版
quramy
49
14k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Making Projects Easy
brettharned
117
6.3k
Scaling GitHub
holman
462
140k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
The Language of Interfaces
destraynor
160
25k
Building an army of robots
kneath
306
46k
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 ( )