A Python-Driven Web App Framework with Django, Channels, and React
summary
A concrete framework shows Django + Channels + React tied by websockets and json‑rpc so Python code serializes UI objects and the front end rehydrates them; a live demo proves the 101 handshake and get_page round trip works and images arrive. Background workers (Celery or subprocesses) push results via a refresh_widget RPC, Redis backs the channel layer, Daphne handles ASGI, and a Python SDK lets data scientists emit components without JavaScript; this is an async publish model, not server-side rendering.
AI-written summary · about
chapters (19)
- 0:00Start
- 0:54Motivation
- 1:36Why Did We Decide To Go with Django
- 2:05Form Validation
- 3:02React
- 4:30Websockets
- 4:47What Web Sockets Are
- 7:01Django Channels
- 11:09Json Rpc
- 13:57The React Redux Flow
- 17:43Page Loaded
- 21:54Live Demo
- 22:12Developer Tools Console
- 26:52Redis
- 27:22Challenges
- 29:44Refresh Widget
- 30:49Demo
- 36:14Authentication
- 39:16Testing
related talks
42mConfident web development with React
29mBuilding real time applications with Django
22mDjango Channels Teaching a mature framework new tricks
45mWebSockets: Intro to Messaging
12mHacking Django Channels for Fun (and Profit)
43mDjango and React: Perfect Together
19mDjango Reduxed
45mKeynote: All The Ways To Use Django with Zags
