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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
Building Adaptive Systems
keathley
44
2.9k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
WENDY [Excerpt]
tessaabrams
9
36k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
450
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
How to train your dragon (web standard)
notwaldorf
97
6.5k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
150
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Done Done
chrislema
186
16k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Ruling the World: When Life Gets Gamed
codingconduct
0
140
YesSQL, Process and Tooling at Scale
rocio
174
15k
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!!