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
180
お花見しようの話.pdf
ippachi
September 18, 2019
Tweet
Share
More Decks by ippachi
See All by ippachi
4つの観点から比較するRubyの型システム
ippachi
0
640
テストファーストな設計を求めて
ippachi
1
63
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
173
14k
Embracing the Ebb and Flow
colly
87
4.8k
Faster Mobile Websites
deanohume
309
31k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
3k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
What's in a price? How to price your products and services
michaelherold
246
12k
Designing Experiences People Love
moore
142
24k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Large-scale JavaScript Application Architecture
addyosmani
513
110k
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!!