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
69
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
110
FutureWorkz DevOps Workshop Day II - Deploying Rails
hqc
0
46
FutureWorkz DevOps Workshop Day III - Gitlab Runner for CD
hqc
0
93
Futureworkz DevOps Workshop Day 1 - DevOps ToolChain
hqc
0
68
FutureWorkz DevOps Workshop Intro
hqc
1
59
Chat Implementation with RESTful (Ruby) and Web Socket
hqc
0
59
Monkey patching in Ruby
hqc
0
300
Optimize Rails Asset Pipeline Deployment
hqc
0
69
Other Decks in Programming
See All in Programming
ReactFlow への移行で実現するユーザー体験と開発体験の向上
j9141997
0
150
AWS で実現する安全な AI エージェントの作り方 〜 Bedrock Engineer の実装例を添えて 〜 / how-to-build-secure-ai-agents
gawa
4
280
Defying Front-End Inertia: Inertia.js on Rails
skryukov
0
410
「影響が少ない」を自分の目でみてみる
o0h
PRO
1
120
アーキテクトと美学 / Architecture and Aesthetics
nrslib
12
3.2k
英語文法から学ぶ、クリーンな設計の秘訣
newnomad
1
280
自分のために作ったアプリが、グローバルに使われるまで / Indie App Development Lunch LT
pixyzehn
1
140
AtCoder Heuristic First-step Vol.1 講義スライド
terryu16
3
1.1k
ミリしらMCP勉強会
watany
4
690
Devin入門と最近のアップデートから見るDevinの進化 / Introduction to Devin and the Evolution of Devin as Seen in Recent Update
rkaga
9
4.2k
snacks.nvim内のセットアップ不要なプラグインを紹介 / introduce_snacks_nvim
uhooi
0
370
爆速スッキリ! Rspack 移行の成果と道のり - Muddy Web #11
dora1998
1
260
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
51
2.4k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Into the Great Unknown - MozCon
thekraken
36
1.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
Building Adaptive Systems
keathley
41
2.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Thoughts on Productivity
jonyablonski
69
4.6k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
We Have a Design System, Now What?
morganepeng
51
7.5k
Designing Experiences People Love
moore
141
23k
Transcript
Rack for Beginner Cam Huynh @huynhquancam
Cam Huynh cam@hqc.me
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