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
お花見しようの話.pdf
Search
ippachi
September 18, 2019
0
210
お花見しようの話.pdf
ippachi
September 18, 2019
Tweet
Share
More Decks by ippachi
See All by ippachi
4つの観点から比較するRubyの型システム
ippachi
0
650
テストファーストな設計を求めて
ippachi
1
66
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
760
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
260
Automating Front-end Workflow
addyosmani
1371
200k
Git: the NoSQL Database
bkeepers
PRO
432
66k
How GitHub (no longer) Works
holman
316
140k
WCS-LA-2024
lcolladotor
0
450
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
We Are The Robots
honzajavorek
0
160
The SEO identity crisis: Don't let AI make you average
varn
0
290
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
220
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Transcript
お花見しよう 話 ippachi
Who are you? • twitter: @ippachi1218 • Github: ippachi •
ubyist • Web programmer
Hanami is 何?
https://hanamirb.org/
Hanami ubyで作られた Web Application Framework
Why Hanami? • Lightweight • imple • Pure uby •
Clean Architecture
Clean Architecture https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture. html
???
疎結合 + 大事なも に依存させよう
Clean Architecture https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture. html
Pros • ユニットテストが書きやすい • 変更に強い • 決断を先延 しできる
Clean Architecture いいぞ
ails on Clean Architecture • できないこと ないが、ちょっとめんどくさい • ailから外れる
Hanami いいぞ
More • epository Pattern • 公式ガイドにユースケース層 • モデルとバリデーション 分離 •
アクション毎 クラス • etc...
Example
ails way(Controller)
Hanami way(Controller)
Let’s enjoy Hanami!!