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
0
75
Rack for beginners
Rack for beginners:
- What is Rack and How to Rack?
- How to chain Rack Middleware?
Cam Huynh
March 30, 2016
Tweet
Share
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
99
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
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
6
1.9k
CSC307 Lecture 01
javiergs
PRO
0
680
CSC307 Lecture 06
javiergs
PRO
0
680
CSC307 Lecture 08
javiergs
PRO
0
670
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
120
Patterns of Patterns
denyspoltorak
0
1.4k
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
440
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
990
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
240
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
Utilizing Notion as your number one productivity tool
mfonobong
2
210
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Done Done
chrislema
186
16k
How to make the Groovebox
asonas
2
1.9k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
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