~/talk

HTMX: Why You Don't Always Need a SPA Framework

Talkat NDC Sydney 2024 · 2024-02-12..02-16· [web-platform, frontend-architecture]
slides:none on file

Argues that HTMX plus a hypermedia pattern often replaces a SPA for CRUD sites, showing a 1,000‑user nutrition app migrated from Angular to server‑rendered HTML with htmx attributes. Demo uses hx-post, hx-delete, hx-target, hx-swap, server‑side validation via out‑of‑band swaps, and small custom elements as glue. htmx is ~14–16 KB gzipped; example web components run 2–3 KB each; the demos mostly work live with a few minor edits.

AI-written summary · about

  1. 0:00HTMX and hypermedia intro
  2. 1:48What HTMX is and how it works
  3. 7:27HTMX vs single-page applications
  4. 15:31Progressive enhancement
  5. 29:11When to use HTMX
  6. 35:53Form validation and swaps
  7. 43:06Debugging HTMX
  8. 46:08Glue code needed
  9. 49:02Web components with HTMX
  10. 55:49HTMX future
~/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.