Abstract
When I want to build a SPA (Single Page Application), I don’t ask for much: one language, one rendering engine, no API and no contracts. And today we can actually do it. The problem was never the side (frontend or backend), it was the wire. Its name is HTML over WebSockets.
The idea is old and simple. Instead of shipping JSON and rebuilding the view in the browser, the server renders the HTML and sends it down a persistent WebSocket, and the client just drops it in place. It traces back to Chris McCord’s Phoenix LiveView, born at ElixirConf, and today it lives in almost every language. I will cover what you gain and what you pay: no API, state on the server, real-time and broadcast for free, against the drawbacks nobody mentions. And I will show what it does to a team: when frontend and backend stop being two separate worlds, one person in one language can own a whole feature. As the author and maintainer of Django LiveView, an open-source framework on Django Channels, I will run it live. We will weigh WebSockets against SSE, where the real difference is not the wire but the architecture.
By the end, you may not build SPAs the same way again.
Speaker Bio
Andros Fenollosa
Andros Fenollosa is a Full Stack developer and teacher, currently working in the marine technology sector. He is the creator and maintainer of Django LiveView and Org Social, and the author of “Building SPAs with Django” (Packt). He writes technical books and blog articles about protocols, and speaks about Python and real-time architectures.
