Building Realtime Singlepage Apps
summary
Argues that real‑time single‑page apps can beat native UX by syncing a single app state across clients and server, using Backbone.js + socket.io to get bi‑directional messages and a shared model tree. Describes building chat and a team collaboration app called ann bang with a custom capsule.js state tree that exports, sends and applies change/add/move/remove events; it works fast over websockets but raises persistence, security and scaling challenges (Redis suggested).
AI-written summary · about
chapters (18)
- 0:00Intro
- 1:03Competition with native apps
- 2:53Stop supporting crappy browsers
- 3:58Realtime singlepage apps
- 4:32Selftaught adoption
- 6:10SocketIO
- 6:30Server
- 6:46Client
- 7:08State
- 8:12Backbone
- 11:11Capsule
- 13:22Core App Model
- 13:52Socket IO
- 14:41Client IO
- 14:51Protocol
- 15:42External API
- 16:51Collaboration App
- 19:58Other Challenges
related talks
22mEvery Node.js app should have real-time collab features
18mThe need for speed - Single-page apps, Optimistic UIs, Reactivity
01h 18mThe future of chat
33mPitfalls and Opportunities of Single Page Applications
51mBuilding Amazing Single Page Applications the Right Way
37mA Single Page Story
28mBuilding in Rails, Backbone, and CoffeeScript
45mBuilding Isomorphic Apps (Updated)
