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
Rack for beginners
Search
Cam Huynh
March 30, 2016
Programming
81
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
130
FutureWorkz DevOps Workshop Day II - Deploying Rails
hqc
0
68
FutureWorkz DevOps Workshop Day III - Gitlab Runner for CD
hqc
0
110
Futureworkz DevOps Workshop Day 1 - DevOps ToolChain
hqc
0
84
FutureWorkz DevOps Workshop Intro
hqc
1
71
Chat Implementation with RESTful (Ruby) and Web Socket
hqc
0
72
Monkey patching in Ruby
hqc
0
310
Optimize Rails Asset Pipeline Deployment
hqc
0
83
Other Decks in Programming
See All in Programming
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
1
420
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
270
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
320
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
310
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
130
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
330
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
20
20k
Heart of Swift Concurrency
koher
0
1.1k
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
510
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
570
Are APIs Still Relevant in the AI Era?
soyuka
0
400
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
140
Featured
See All Featured
Paper Plane
katiecoart
PRO
4
53k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
380
We Have a Design System, Now What?
morganepeng
55
8.3k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
The SEO Collaboration Effect
kristinabergwall1
1
580
The Invisible Side of Design
smashingmag
301
52k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
550
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
440
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