~/talk

Ruby on Rack: The Magic Between Request and Response

Talkat RubyConf 2023 · 2023-11-13..11-15· [ruby, web-platform]
speakerdeck:meaganewaller
slides:none on file

Claims that Rack is a tiny, composable API that actually bridges servers and frameworks and lets plain Ruby handle real features are proven by code and a working demo: a TIL app built with Sequel + Postgres, Slim templates, static assets and a file-backed counter; custom Rack middleware for URL rewriting and a rate limiter that issues 429s after ten posts per minute and enforces a six‑second cooldown; real‑time updates via Faye::WebSocket successfully broadcast to multiple browsers.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04From curiosity to Ruby on Rack
  3. 5:14TIL Rack app demo
  4. 7:03What Rack is
  5. 7:45Rack’s minimal API
  6. 9:51Rack and web servers
  7. 11:39Rack’s server abstractions
  8. 13:30Rack request handling
  9. 15:39Rack in web frameworks
  10. 16:01Sinatra’s Rack integration
  11. 16:43Middleman’s middleware
  12. 17:25Rails’ Rack init
  13. 18:06Composing with middleware
  14. 18:27Custom Rack middleware
  15. 19:30TIL app with Rack
  16. 19:51First commit setup
  17. 20:53Slim templates
  18. 21:59Static assets middleware
  19. 22:42Dynamic routes
  20. 23:04Sequel database
  21. 24:07Rack routing
  22. 25:31TILs display
  23. 26:40File persistence
  24. 27:43Real-time JS
  25. 28:26Rate limiting
  26. 31:59WebSocket support
  27. 35:11Extending possibilities
  28. 35:54Why learn Rack
  29. 36:14Middleware next steps
  30. 36:57Closing
~/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.