~/talk

Django + HTMX: Patterns to Success

Talkat DjangoCon Europe 2025 · 2025-04-23..04-27· [python, web-platform]
links:none on file
slides:none on file

Claims faster feature delivery and smaller overall code than a DRF+React split, with multiple production one‑developer apps running HTMX+Django for years. Patterns shown: lazy-loading partial endpoints per UI section, favoring class-based views and reusable components (uses Django Cotton and similar packages), CRUD via simple HTMX swaps, and three strategies to keep state in sync: extend swap area, out‑of‑band/autoband swaps, or dispatch events. Uses AlpineJS for low-interactivity widgets, recommends view transitions API and django-htmx; not ideal for heavy client-side realtime or offline apps.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:08Why embrace HTMX?
  3. 2:40Hypermedia applications
  4. 4:11View patterns and structure
  5. 7:20CBVs and CRUD operations
  6. 8:34Templating and components
  7. 10:36Component structure
  8. 12:23HTMX improvement tips
  9. 13:58State management
  10. 16:31HTML and interactivity
  11. 18:43Balance and scale
  12. 19:54Fit and hybrid approaches
  13. 21:09Future and stability
  14. 22:53Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.