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
22
0
Share
ところでクリーンアーキテクチャって何がいいの?
2023年に開催したニ社合同勉強でのLT資料です。
・NE株式会社
・株式会社ウィルゲート
ふわり
July 20, 2023
More Decks by ふわり
See All by ふわり
ChatGPT、Gemini、Claude は、なぜ似たようなUIを採用しているのか?
fuwarisprit
3
2.5k
TDDをやってみたら、身に沁みてTDDの 〝良さ〟 を理解した話
fuwarisprit
1
42
Other Decks in Programming
See All in Programming
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
120
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
310
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1.3k
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
600
JavaDoc 再入門
nagise
0
270
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
960
ふつうのFeature Flag実践入門
irof
7
3.5k
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
710
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
340
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
430
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
460
The NotImplementedError Problem in Ruby
koic
1
540
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
280
We Are The Robots
honzajavorek
0
240
The untapped power of vector embeddings
frankvandijk
2
1.7k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
190
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
580
Faster Mobile Websites
deanohume
310
31k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
130
Information Architects: The Missing Link in Design Systems
soysaucechin
0
960
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Transcript
ところでクリーンアーキテクチャって 何がいいの?
自己紹介 武田 佑樹(25) ASSICA・サグーワークス開発チーム TRPGというサイコロを転がす ゲームをよくやっています。 最近ネイルにお熱です。
目次 - “クリーンアーキテクチャ”とは? - 〃 の良いところ - まとめ
“クリーンアーキテクチャ”とは?
コレ→
“クリーンアーキテクチャ”とは? 設計パターンの一つ。 システムを単一の責任を持つレイヤーに分け、 各レイヤー同士の依存関係を一方向にすることで、 システムをいい感じにするアーキテクチャ。
〃 のいいところ
〃 のいいところ 1. 変更に強い
〃 のいいところ 1. 変更に強い 2. 変更に強い
〃 のいいところ 1. 変更に強い 2. 変更に強い 3. 変更に強い
〃 のいいところ 処理A 処理B 保存先C
〃 のいいところ 処理A 処理B 保存先C 保存先D
〃 のいいところ 処理A 処理B 保存先C 保存先D
〃 のいいところ - 重要なロジックが明確になる - ビジネスロジックはコレ! それ以外のロジックはコレ! - ユニットテストがやりやすい -
各レイヤーごとにテスト! - DBをモックに変えたって問題なし!
まとめ
クリーンアーキテクチャは 変更に強い
とはいえデメリットも…… - チーム全体での理解が必須 - コードの量やクラスファイルが増えがち - 等々
とはいえデメリットも…… - チーム全体での理解が必須 - コードの量やクラスファイルが増えがち - 等々 → 採用するときは規模感や予算を考慮して決めよう
おわり