~/talk

Faye: an Event Driven App

Talkat RubyConf 2010 · 2010-11-11..11-13· [ruby]
slides:none on file

Faye is a Rack-mounted Ruby (and Node.js-compatible) pub/sub server that implements Bayeux-style channels with wildcard routing, automatic reconnection and WebSocket/long-poll fallbacks. Core primitives are Publisher and Deferrable used to push hashes and JSON between channels, connections and the server. Tests use an async-scenario pattern: story methods accept callbacks, method_missing queues steps and resumes on completion. A real project, Terminus (a Capybara driver), uses Faye to remote-control browsers and demonstrably works.

AI-written summary · about

  1. 0:00Platinum Sponsor
  2. 5:37Ruby client
  3. 5:57Message passing
  4. 11:13Continuation-passing style
  5. 13:05Architecture
  6. 15:09RackAdapter
  7. 17:02Server
  8. 21:01Connection
  9. 24:19Deferrable
  10. 25:15Cyclic data flow
  11. 26:35Non-cyclic dependencies
  12. 33:37Make test actions with callbacks
  13. 35:02Queue up commands
  14. 36:50Run command and schedule next
~/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.