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
Rack for beginners
Search
Cam Huynh
March 30, 2016
Programming
75
0
Share
Rack for beginners
Rack for beginners:
- What is Rack and How to Rack?
- How to chain Rack Middleware?
Cam Huynh
March 30, 2016
More Decks by Cam Huynh
See All by Cam Huynh
Reddit Ruby Conf 2016 Recap
hqc
0
120
FutureWorkz DevOps Workshop Day II - Deploying Rails
hqc
0
53
FutureWorkz DevOps Workshop Day III - Gitlab Runner for CD
hqc
0
100
Futureworkz DevOps Workshop Day 1 - DevOps ToolChain
hqc
0
75
FutureWorkz DevOps Workshop Intro
hqc
1
64
Chat Implementation with RESTful (Ruby) and Web Socket
hqc
0
64
Monkey patching in Ruby
hqc
0
300
Optimize Rails Asset Pipeline Deployment
hqc
0
74
Other Decks in Programming
See All in Programming
AWS re:Invent 2025の少し振り返り + DevOps AgentとBacklogを連携させてみた
satoshi256kbyte
1
110
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
460
Ruby and LLM Ecosystem 2nd
koic
1
1.4k
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
180
Claude Codeログ基盤の構築
giginet
PRO
7
3.8k
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
330
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
4.2k
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
750
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
390
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
280
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.5k
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
120
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
660
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
How to Talk to Developers About Accessibility
jct
2
170
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
450
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Paper Plane (Part 1)
katiecoart
PRO
0
6.3k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
170
Designing Experiences People Love
moore
143
24k
Done Done
chrislema
186
16k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Transcript
Rack for Beginner Cam Huynh @huynhquancam
Cam Huynh
[email protected]
What’s this talk about? • WHAT’s Rack and HOW to
Rack? • Is config.ru redundant? • Rack middlewares. • Live coding session.
I am Grandpa, ask me anything Before the steering wheels,
how do people drive cars?
IAG, AMA Well, someone tried this.
IAG, AMA Some even more creative
IAG, AMA Finally, we ended up with this genius invention.
Life before Rack This steering wheel problem happened to the
Ruby world too!
Life after Rack
Even when you switch the web-server
Or the ruby framework
What’s Rack? Rack provides a minimal interface between web-servers that
support Ruby and Ruby frameworks.
What’s Rack? • Web servers: Puma, Phusion Passenger, Unicorn, Thin,
etc. • Ruby applications: Sinatra, Grape, Ruby on Rails, Hanami, etc.
How to Rack?
How to Rack? rackup -p 9200
Rack Middleware Rack provides an easy way to chain the
middlewares / components to customize the way your requests / response behaves
None
Live coding
Questions