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
680
テストファーストな設計を求めて
ippachi
1
68
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Leo the Paperboy
mayatellez
10
2.3k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
500
Into the Great Unknown - MozCon
thekraken
41
2.7k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
A Soul's Torment
seathinner
8
3.6k
Code Review Best Practice
trishagee
74
20k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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!!