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
ふわり
July 20, 2023
Programming
0
10
ところでクリーンアーキテクチャって何がいいの?
2023年に開催したニ社合同勉強でのLT資料です。
・NE株式会社
・株式会社ウィルゲート
ふわり
July 20, 2023
Tweet
Share
More Decks by ふわり
See All by ふわり
ChatGPT、Gemini、Claude は、なぜ似たようなUIを採用しているのか?
fuwarisprit
0
210
TDDをやってみたら、身に沁みてTDDの 〝良さ〟 を理解した話
fuwarisprit
1
16
Other Decks in Programming
See All in Programming
Ruby Parser progress report 2025
yui_knk
1
260
【第4回】関東Kaggler会「Kaggleは執筆に役立つ」
mipypf
0
990
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
110
為你自己學 Python - 冷知識篇
eddie
1
310
TDD 実践ミニトーク
contour_gara
1
270
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
290
AIでLINEスタンプを作ってみた
eycjur
1
220
JSONataを使ってみよう Step Functionsが楽しくなる実践テクニック #devio2025
dafujii
0
230
testingを眺める
matumoto
1
130
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
350
Claude Codeで挑むOSSコントリビュート
eycjur
0
190
オープンセミナー2025@広島「君はどこで動かすか?」アンケート結果
satoshi256kbyte
0
230
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Art, The Web, and Tiny UX
lynnandtonic
302
21k
Gamification - CAS2011
davidbonilla
81
5.4k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Done Done
chrislema
185
16k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Agile that works and the tools we love
rasmusluckow
330
21k
Unsuck your backbone
ammeep
671
58k
Embracing the Ebb and Flow
colly
87
4.8k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The Language of Interfaces
destraynor
160
25k
Transcript
ところでクリーンアーキテクチャって 何がいいの?
自己紹介 武田 佑樹(25) ASSICA・サグーワークス開発チーム TRPGというサイコロを転がす ゲームをよくやっています。 最近ネイルにお熱です。
目次 - “クリーンアーキテクチャ”とは? - 〃 の良いところ - まとめ
“クリーンアーキテクチャ”とは?
コレ→
“クリーンアーキテクチャ”とは? 設計パターンの一つ。 システムを単一の責任を持つレイヤーに分け、 各レイヤー同士の依存関係を一方向にすることで、 システムをいい感じにするアーキテクチャ。
〃 のいいところ
〃 のいいところ 1. 変更に強い
〃 のいいところ 1. 変更に強い 2. 変更に強い
〃 のいいところ 1. 変更に強い 2. 変更に強い 3. 変更に強い
〃 のいいところ 処理A 処理B 保存先C
〃 のいいところ 処理A 処理B 保存先C 保存先D
〃 のいいところ 処理A 処理B 保存先C 保存先D
〃 のいいところ - 重要なロジックが明確になる - ビジネスロジックはコレ! それ以外のロジックはコレ! - ユニットテストがやりやすい -
各レイヤーごとにテスト! - DBをモックに変えたって問題なし!
まとめ
クリーンアーキテクチャは 変更に強い
とはいえデメリットも…… - チーム全体での理解が必須 - コードの量やクラスファイルが増えがち - 等々
とはいえデメリットも…… - チーム全体での理解が必須 - コードの量やクラスファイルが増えがち - 等々 → 採用するときは規模感や予算を考慮して決めよう
おわり