Real-time Web Apps & Symfony. What are your options?
summary
Compares concrete options for adding real-time to a Symfony app and shows a working chat: a Symfony controller publishes JSON to Redis, a Ratchet WebSocket server subscribes and broadcasts to browsers, which proves the Ratchet + Redis demo works but requires a custom event loop and no HTTP fallback. Covers Node Faye and Socket.IO, Firebase and RMI patterns, and the easy alternative of the Pusher hosted service for scale. Emphasizes choosing by pub/sub vs data sync behavior, mobile support and operational cost.
AI-written summary · about
chapters (10)
- 0:00Introduction to real-time apps
- 1:12Why real-time functionality matters
- 6:10Options for real-time in Symfony
- 10:22Communication styles in frameworks
- 18:57Architecture considerations
- 20:22Self-hosted vs hosted solutions
- 23:59Demo with Ratchet and Redis
- 27:07Demo with Faye and hosted service
- 29:15Pros and cons of hosted services
- 29:57Summary and final advice
