~/talk

Resources, For Real This Time (with Webmachine)

Talkat RubyConf 2011 · 2011-09-29..10-01· [web-platform, ruby]
slides:none on file

Claims that HTTP belongs as the app shape not an afterthought and demonstrates a Ruby port of Webmachine that implements the RFC as an executable model of HTTP. Builds a small CMS resource family using Webmachine + Webrick/Mongrel adapters, a RIO-backed model via ripple, ERB and JSON representations, ETag/Last-Modified conditional requests, PUT to create/update and HTTP Basic auth. Implements and exercises the state machine (about 36 resource callbacks), shows 304 responses and working accept-header negotiation via curl.

AI-written summary · about

  1. 0:00Introduction
  2. 2:35CGI
  3. 4:13Webrick
  4. 5:09Rails
  5. 8:03Sinatra
  6. 8:49Rack
  7. 10:26composability
  8. 15:52HTTP flowchart
  9. 16:54Hard questions
  10. 17:52HTTP RFC
  11. 18:35Resource
  12. 20:22What is Webmachine
  13. 21:53Webmachine is an executable model
  14. 22:24Webmachine is shaped like HTTP
  15. 23:05Rubbishing is not a framer
  16. 23:29Resource focused
  17. 24:10Resource apps
  18. 24:51Resource dispatching
  19. 25:59Example
  20. 26:12Basic Resource
  21. 26:45Adding a Route
  22. 27:11Demo
  23. 28:51Page Resource
  24. 29:21Page Model
  25. 30:49Document Mapper
  26. 33:18Media Types
  27. 35:23Condition Robust
  28. 40:19Basic Authentication
  29. 42:43Webmachine
  30. 47:31Browsers
~/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.