~/talk

GigCityElixir 2023 - Andrew Ek

Talkat GigCityElixir 2023 · 2023-05-19..05-20· [web-platform]
name:Andrew Ek
links:none on file
slides:none on file

LiveView forms evolve through concrete iterations: basic submit-only validation, browser semantic inputs, then phx-change="validate" for live validation, the newer LiveView form struct that tracks touched fields and survives disconnects, and HTML attributes like phx-debounce="blur" to reduce noisy feedback. The demo uses phx-disable-with to prevent double submits and a virtual field that turns dollars into cents before saving. Everything works but each validate callback costs a server round trip, so latency-sensitive or ultra-polished UIs may need client-side JS.

AI-written summary · about

  1. 0:00Introduction and thesis
  2. 3:02Form best practices overview
  3. 7:30Variation one: Basic form
  4. 12:08Variation two: Semantic HTML
  5. 16:06Variation two: Improvements and issues
  6. 18:55Variation three: Real-time validation
  7. 21:22Variation three: Disconnect handling
  8. 22:50Variation four: Form binding
  9. 27:03Variation four: Limitations
  10. 29:13Variation five: Accessibility and HTML
  11. 32:02Debounce and user experience
  12. 34:11Virtual fields and Ecto
  13. 35:54LiveView limitations and trade-offs
  14. 37:14When to use LiveView for forms
  15. 38:40Key takeaways and conclusion
~/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.