Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
お花見しようの話.pdf
Search
ippachi
September 18, 2019
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
お花見しようの話.pdf
ippachi
September 18, 2019
More Decks by ippachi
See All by ippachi
4つの観点から比較するRubyの型システム
ippachi
0
690
テストファーストな設計を求めて
ippachi
1
68
Featured
See All Featured
A Tale of Four Properties
chriscoyier
163
24k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
The untapped power of vector embeddings
frankvandijk
2
1.9k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
630
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
820
Google's AI Overviews - The New Search
badams
0
1.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Documentation Writing (for coders)
carmenintech
77
5.6k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
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!!