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
73
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
52
FutureWorkz DevOps Workshop Day III - Gitlab Runner for CD
hqc
0
97
Futureworkz DevOps Workshop Day 1 - DevOps ToolChain
hqc
0
73
FutureWorkz DevOps Workshop Intro
hqc
1
63
Chat Implementation with RESTful (Ruby) and Web Socket
hqc
0
63
Monkey patching in Ruby
hqc
0
300
Optimize Rails Asset Pipeline Deployment
hqc
0
73
Other Decks in Programming
See All in Programming
After go func(): Goroutines Through a Beginner’s Eye
97vaibhav
0
370
Web フロントエンドエンジニアに開かれる AI Agent プロダクト開発 - Vercel AI SDK を観察して AI Agent と仲良くなろう! #FEC余熱NIGHT
izumin5210
3
520
止められない医療アプリ、そっと Swift 6 へ
medley
1
160
GitHub Actions × AWS OIDC連携の仕組みと経緯を理解する
ota1022
0
250
Web Components で実現する Hotwire とフロントエンドフレームワークの橋渡し / Bridging with Web Components
da1chi
3
2.1k
Cursorハンズオン実践!
eltociear
2
1k
CSC509 Lecture 03
javiergs
PRO
0
330
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
160
CSC509 Lecture 04
javiergs
PRO
0
300
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
140
GraphQL×Railsアプリのデータベース負荷分散 - 月間3,000万人利用サービスを無停止で
koxya
1
1.3k
dynamic!
moro
10
7.4k
Featured
See All Featured
A designer walks into a library…
pauljervisheath
209
24k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
The Cost Of JavaScript in 2023
addyosmani
54
9k
How STYLIGHT went responsive
nonsquared
100
5.8k
Automating Front-end Workflow
addyosmani
1371
200k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Context Engineering - Making Every Token Count
addyosmani
5
230
How GitHub (no longer) Works
holman
315
140k
A Modern Web Designer's Workflow
chriscoyier
697
190k
A Tale of Four Properties
chriscoyier
161
23k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Code Reviewing Like a Champion
maltzj
526
40k
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