~/talk

Rack ‘em, Stack ‘em Web Apps

Talkat RailsConf 2017 · 2017-04-25..04-27· [ruby-on-rails, web-platform]
slides:none on file

Shows Rack as a minimal HTTP interface: a one‑method app in config.ru that returns [status, headers, body] and grows into a RESTful API with GET/POST parsing via Rack::Request, tests using rack/test and minitest, and a middleware that blocks requests without an X-API-Key (returns 403). Demonstrates response.finish adding Content-Length, mounting Rack apps inside Rails and compatibility with Sinatra, and links to a working demo at fight.robotlikes.com for the robot‑fighting example.

AI-written summary · about

  1. 0:00Introduction
  2. 1:20What is Rack
  3. 4:59Rack code
  4. 8:40Rack test
  5. 11:10Incoming web request
  6. 13:23Routing
  7. 15:30Rack Requests
  8. 18:12sinatra
  9. 19:39post
  10. 22:27response
  11. 24:56middleware
  12. 28:14rackstatic
  13. 28:58Rails
  14. 31:24Wrap up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.