~/talk

Complex Forms Build Character

Talkat NGConf 2018 · on Thursday, 2018-04-19· [angular, frontend-architecture]
slides:none on file

A Dungeons & Dragons character form is built in Angular using reactive forms with FormBuilder, moving repeated groups into a FormArray with custom Ability class that contains four form controls so nested logic lives in the class. Live templates speed scaffolding. An autosave uses a publish/subscribe service implemented with RxJS BehaviorSubject to patch saved state across components, and the demo shows the autosave working as refactoring preserves behavior.

AI-written summary · about

  1. 0:00Start
  2. 1:03The Abilities Form
  3. 1:44Race Modifier
  4. 5:28Ability Classes
  5. 10:14The Publish / Subscribe Pattern
  6. 14:24Publish / Subscribe Pattern
  7. 16:08Takeaways
  8. 17:13Github Repository
~/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.