~/talk

Backend-First: Revolutionizing Front-End Development with Django and HTMX

Talkat PyCon Italia 2025 · 2025-05-28..05-31· [python]
links:none on file
slides:none on file

Argues that a Backend-First approach with Django and HTMX moves UI logic to the server, reducing client complexity and enabling faster prototyping and stronger security. Demonstrates Django admin + Bootstrap modals, Django-HTMX addon (Adam Johnson), and mixing a React web component inside a Django form, all working in a proposal-management system for a CERIC deployment (about 30–32 ERICs, ~60 instruments). Highlights concrete tradeoffs: 14 KB HTMX payloads, no client-side state, and model admin covering 90% of needed CRUD.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:30Why HTMX matters now
  3. 5:02What is HTMX and how it works
  4. 7:10Philosophy behind HTMX
  5. 10:44Adding HTMX to Django
  6. 12:49Real-world Django HTMX example
  7. 14:57Leveraging Django admin with HTMX
  8. 16:45HTMX middleware and partial responses
  9. 17:47Simplifying state management
  10. 18:51When to use HTMX
  11. 20:18Bonus tips and integrations
  12. 23:30Closing remarks and resources
~/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.