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
ところでクリーンアーキテクチャって何がいいの?
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ふわり
July 20, 2023
Programming
31
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ところでクリーンアーキテクチャって何がいいの?
2023年に開催したニ社合同勉強でのLT資料です。
・NE株式会社
・株式会社ウィルゲート
ふわり
July 20, 2023
More Decks by ふわり
See All by ふわり
ChatGPT、Gemini、Claude は、なぜ似たようなUIを採用しているのか?
fuwarisprit
3
3.7k
TDDをやってみたら、身に沁みてTDDの 〝良さ〟 を理解した話
fuwarisprit
1
50
Other Decks in Programming
See All in Programming
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
180
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
180
承認済みなのに差戻しできてしまうバグ、型で潰せます
shinchit
0
110
Introducing Stack Pull Request in GitHub
kkamegawa
0
100
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
240
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
230
Hono + Inertia + React で LP を構築した話
oukayuka
2
170
Go 1.27からのGODEBUG / Go 1.27 リリースパーティ #go127party
mazrean
0
220
My Marp Sample
sinoue0108
0
120
Go を使い始めて 2 ヶ月の学び / My first two months with Go
contour_gara
0
380
Flow は今どうなっているか
mizdra
PRO
0
720
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
720
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
250
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
For a Future-Friendly Web
brad_frost
183
10k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
430
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
220
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
450
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
810
Transcript
ところでクリーンアーキテクチャって 何がいいの?
自己紹介 武田 佑樹(25) ASSICA・サグーワークス開発チーム TRPGというサイコロを転がす ゲームをよくやっています。 最近ネイルにお熱です。
目次 - “クリーンアーキテクチャ”とは? - 〃 の良いところ - まとめ
“クリーンアーキテクチャ”とは?
コレ→
“クリーンアーキテクチャ”とは? 設計パターンの一つ。 システムを単一の責任を持つレイヤーに分け、 各レイヤー同士の依存関係を一方向にすることで、 システムをいい感じにするアーキテクチャ。
〃 のいいところ
〃 のいいところ 1. 変更に強い
〃 のいいところ 1. 変更に強い 2. 変更に強い
〃 のいいところ 1. 変更に強い 2. 変更に強い 3. 変更に強い
〃 のいいところ 処理A 処理B 保存先C
〃 のいいところ 処理A 処理B 保存先C 保存先D
〃 のいいところ 処理A 処理B 保存先C 保存先D
〃 のいいところ - 重要なロジックが明確になる - ビジネスロジックはコレ! それ以外のロジックはコレ! - ユニットテストがやりやすい -
各レイヤーごとにテスト! - DBをモックに変えたって問題なし!
まとめ
クリーンアーキテクチャは 変更に強い
とはいえデメリットも…… - チーム全体での理解が必須 - コードの量やクラスファイルが増えがち - 等々
とはいえデメリットも…… - チーム全体での理解が必須 - コードの量やクラスファイルが増えがち - 等々 → 採用するときは規模感や予算を考慮して決めよう
おわり