dRuby on Browser
summary
Implements dRuby in the browser by compiling Ruby to JavaScript with Opal and adding a WebSocket protocol plugin (drb-websocket) plus an Opal-based client (opal-drb). Remote objects become proxy objects and method calls return promise-based proxies to accommodate JavaScript’s async model. Adds server-side callback handling so browsers can act as both client and server over WebSocket. Ships a partial collaborative app called Kanban-chan (sticky notes only); demo works but is unstable and lacks authentication/authorization, so security hardening remains.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 7:40About me and past talks
- 13:28What is dRuby
- 18:11dRuby WebSocket plugin
- 22:35Opal dRuby implementation
- 27:52Demo: Kanban app
- 31:04Summary and future plans
- 31:50Q&A session
related talks
35mBuilding web-based board games only with Ruby
28mNext Generation Ruby Web Appswith dry-rb, ROM, and Roda
26mFrom Server to Client: Ruby on Rails on WebAssembly
28mBuilding in Rails, Backbone, and CoffeeScript
30mFunicular: A Browser App Framework Powered by PicoRuby.WASM
35mIsomorphic App Development with Ruby and Volt
46mRuby in the Clouds
36mRails is Obsolete (But So's Everything Else)
