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
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
370
A Modern Web Designer's Workflow
chriscoyier
699
190k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
710
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
310
A designer walks into a library…
pauljervisheath
211
25k
We Are The Robots
honzajavorek
0
400
Faster Mobile Websites
deanohume
310
32k
How to Talk to Developers About Accessibility
jct
2
580
Rails Girls Zürich Keynote
gr2m
96
14k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
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!!