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
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
The World Runs on Bad Software
bkeepers
PRO
72
12k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
280
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Six Lessons from altMBA
skipperchong
29
4.2k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Are puppies a ranking factor?
jonoalderson
1
2.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
How STYLIGHT went responsive
nonsquared
100
6k
Evolving SEO for Evolving Search Engines
ryanjones
0
130
A Modern Web Designer's Workflow
chriscoyier
698
190k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.7k
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!!