One Ruby App to Rule Them All
summary
Claims a single-project multi-site architecture that uses Rack to serve Rails, Sinatra and Grape apps together, with a working API layer and messaging via ZMQ/EventMachine/ZMQMachine/DripDrop. Describes building a fully functioning web product in about 2.5 weeks and soft-launching at SXSW, reusing a shared session with a Rack session cookie and Omniauth, running websocket servers for realtime, and deploying separate environments to Heroku; the stack is presented as implemented and deployed, not just hypothetical.
AI-written summary · about
chapters (10)
- 0:00Start
- 3:02THE ONES YOU MAY NOT KNOW
- 5:48LETS MOUNT SOME STUFF
- 6:54ENABLING SHARED SESSIONS
- 7:22ADDING AUTH
- 10:29OMNIAUTH DEVISE+RACK SESSION
- 10:53EVENTMACHINE+DRIPDROP
- 12:14MODIFY CONFIG.RU FOR DUAL ENVIRONMENTS
- 12:57CREATE WEBSOCKET
- 13:20STARTING DUAL SERVERS
related talks
37mRuby on Rack: The Magic Between Request and Response
30mWeb Applications with Ruby (not Rails)
30mRails Sojourn: One Man's Journey
33mWeb applications with Ruby (not Rails)
28mIn a World of Middleware, Who Needs Monolithic Applications
29mConventions Between Applications
44mBuilding Distributed Applications
35mThe Grapes of Rapid
