~/talk

Form Validation Done Right

Talkat ng-conf 2022 · 2022-08-31..09-02· [angular, frontend-architecture]
slides:none on file

Asserts that validation belongs on the domain model not the UI and demonstrates a model-driven validation approach that runs on client and server, reuses rules across Reactive and Template Driven forms, and replaces hundreds of per-field directives (he cites ~100 custom validations) with a suite-based engine. Shows using the open-source Vest library, a validator directive + async validator pair, a set of input widgets, and claims two validators only for full integration — used in production for three years and working.

AI-written summary · about

  1. 0:00Start
  2. 3:21ANGULAR VALIDATOR
  3. 11:53VEST VALIDATION RULE
  4. 12:48VEST SUITE
  5. 15:17VEST VALIDATOR FUNCTION
  6. 18:08VALIDATION SCOPING DIRECTIVE
  7. 20:34GET THE GOODS
~/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.