~/talk

Choosing Wisely: SPA vs. HTMX for Your Next Web Project with Chris May

Talkat DjangoCon US 2024 · 2024-09-22..09-27· [django, frontend-architecture]
slides:none on file

Compares SPA cost and complexity with server-driven alternatives and shows concrete wins: HTMX, AlpineJS and Django Unicorn underpin a streamed HTML components pattern that cuts cold-start pain, reduced time to interactive from 6s to 2s in a case study, and slashes frontend surface area — one project reports lines of code cut by over 90% and another multiplies story-point throughput by five; demos replace a 4-minute task with a 20-second streamed HTML workflow.

AI-written summary · about

  1. 0:00Introduction
  2. 2:08Problem with SPAs
  3. 5:37Three web app patterns
  4. 8:26Progressive enhancement
  5. 10:15SPA JavaScript costs
  6. 12:01When SPAs are worth it
  7. 13:26Why complexity kills SPA projects
  8. 15:50Component islands pattern
  9. 18:17HTML vs JSON responses
  10. 19:18Django Unicorn demo
  11. 21:02Streamed HTML components
  12. 22:45HTMX and Alpine JS tools
  13. 25:34Umuzi HTMX success
  14. 28:25Context’s HTMX switch
  15. 30:32Grocery store demo
  16. 34:07Recap and key takeaways
  17. 34:53Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.