HTMX vs WASM
summary
Compares running Python in the browser via PyScript/Pyodide compiled to WebAssembly against server-driven HTML updates using htmx attributes drive AJAX from HTML, showing a PyScript todo demo and an htmx + Django example (note: Django CSRF needs a plugin). Claims that both approaches reduce direct JavaScript work but that htmx and PyScript still use JS under the hood. Covers memory limits for large ML models in-browser and when to keep logic on the backend.
AI-written summary · about
chapters (15)
- 0:00Introduction and background
- 1:12About the speaker
- 1:37Project Iodide explained
- 3:28What is WebAssembly
- 5:03Python in the browser
- 6:58Why Project Iodide failed
- 8:06Pyodide and modern Python
- 10:02JupyterLite vs Jupiter notebook
- 11:14PyScript for web apps
- 12:53PyScript demo
- 15:21HTMX for backend-driven UIs
- 16:50HTMX with Django setup
- 18:44HTMX demo
- 20:16Future of web development
- 22:10Closing and Q&A
