~/talk

Back to the Future of Hypermedia in Django

Talkat DjangoCon US 2023 · 2023-10-16..10-20· [web-platform, frontend-architecture]
slides:none on file

Django leads hypermedia adoption in Python and the concrete claim is that using HTMX with Django lets servers send only partial HTML fragments using HTMX headers (HX-Request) and template fragment tools like django-htmx, django-render-block, django-template-partials. A real SaaS migration replaces a React front end with HTMX in two months with no UI compromise and measurable wins: 21,500 → 7,000 lines of code, JavaScript deps 255 → 9, build time 440s → 5s, and roughly half the time to interactive.

AI-written summary · about

  1. 0:00Hypermedia origins
  2. 3:21REST and HATEOAS
  3. 5:10Hypermedia for CRUD
  4. 8:19HTMX and Django
  5. 10:28Django-HTMX patterns
  6. 13:45Partial content with HTMX
  7. 16:37HTMX tools in Django
  8. 18:24HTMX production readiness
  9. 20:13Python and hypermedia
  10. 21:55HTMX with Tailwind
  11. 22:59Conclusion
~/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.