Miguel Grinberg - Look Ma, No HTTP!
Channel: EuroPython Conference
Date: 2019-10-01

"Look Ma, No HTTP!
[EuroPython 2019 - Talk - 2019-07-12 - Shanghai]
[Basel, CH]

By Miguel Grinberg

In this talk I'm going to live code a web application that is built exclusively on top of WebSocket, without using HTTP at all!

What's the benefit of using WebSocket over HTTP, you may ask? With WebSocket each client establishes a permanent connection to the server, so there is no request/response cycle and no need for the client to poll the server for data. Each side can freely send data to the other side at any time, so this is an ideal stack for building highly dynamic, event-driven applications.

For this live coding exercise I'm going to use the Socket.IO server for Python, and the Socket.IO client for JavaScript. No Flask, no Django, no HTTP!



License: This video is licensed under the CC BY-NC-SA 3.0 license: https://creativecommons.org/licenses/by-nc-sa/3.0/
Please see our speaker release agreement for details: https://ep2019.europython.eu/events/speaker-release-agreement/