HTML-ivating your Django web app's experience with HTMX, AlpineJS, and streaming HTML

December 14, 2023 38 min Free

Description

This talk explores how to leverage HTMX, AlpineJS, and Django's ability to stream HTML to create web applications with an improved user experience, offering an alternative to JavaScript-heavy Single-Page Applications (SPAs). It discusses the challenges of SPAs, such as complexity and slower load times, and presents techniques for building dynamic and engaging interfaces with a focus on performance and maintainability. The presentation covers concepts like removing whole-page refreshes, using small payloads, updating HTML based on data changes, empowering rich on-page interactions, and prioritizing speed. Examples and code demonstrations illustrate how to achieve better-than-SPA performance using Python and HTML.