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
67
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
99
FutureWorkz DevOps Workshop Day II - Deploying Rails
hqc
0
42
FutureWorkz DevOps Workshop Day III - Gitlab Runner for CD
hqc
0
90
Futureworkz DevOps Workshop Day 1 - DevOps ToolChain
hqc
0
62
FutureWorkz DevOps Workshop Intro
hqc
1
55
Chat Implementation with RESTful (Ruby) and Web Socket
hqc
0
50
Monkey patching in Ruby
hqc
0
290
Optimize Rails Asset Pipeline Deployment
hqc
0
63
Other Decks in Programming
See All in Programming
哲学史とモデリング
tanakahisateru
2
420
GitHub Actionsの痒いところを埋めるサードパーティーランナー
dora1998
2
260
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
13
4.3k
TypeScriptから始める VR生活
tamagokakeg
2
120
TypeScript 関数型スタイルでバックエンド開発のリアル
naoya
49
16k
スタックトレース始めてみた
kuro_kurorrr
4
1.1k
The Cutting Edge Of Versioning (LambdaConf 2024)
chriskrycho
0
250
TypeScriptとGraphQLで実現する 型安全なAPI実装 / TSKaigi 2024
hokaccha
5
2.7k
CQRS meets modern Java
simas
PRO
2
470
RaaP
ksss
0
160
Timeline エディター拡張入門
yucchiy
0
450
TypeScriptのパフォーマンス改善
yajihum
14
5.1k
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Building Adaptive Systems
keathley
32
1.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
660
120k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
23
1.7k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.5k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
Infographics Made Easy
chrislema
238
18k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
126
32k
Bash Introduction
62gerente
605
210k
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