RUBY: WRITE ONCE, RUN ANYWHERE
summary
Claims Ruby remains viable and shows cross‑platform value by sharing domain code across browser, server and mobile. Uses Opal Ruby-to-JS to run Ruby in the browser, RubyMotion static compiler to build iOS/OS X apps, Rails as backend and a shared gem (a turn-based gem) containing game rules. Implements interactors/adapters pattern so domain objects validate moves and adapters handle REST or DB persistence. Demo is a working tic‑tac‑toe multiplayer platform with Opal client, iOS client and Rails server all reusing the same core.
AI-written summary · about
chapters (12)
- 0:00Is Ruby dying?
- 1:10The JavaScript revolution
- 3:27Ruby to JavaScript compilers
- 5:58Drawbacks of cross-platform
- 9:12Cross-platform architecture
- 11:02Managing system interactions
- 13:24Handling complex interactions
- 16:05Interface patterns and events
- 21:36Implementation suggestions
- 24:31Real-world proof of concept
- 29:11Code analysis and conclusion
- 36:47Q&A session








