Mastering the Art of Forms
summary
Shows how to refactor bulky form components into small composable pieces using contextual components, turning ~62 lines of template logic into about eight lines of composition and standardizing label/input APIs. Uses an in-component data fetch for option lists with retry logic (willRender plus a task, threshold five) via ember-concurrency, and validates at the appropriate layer using ember-cp-validations. Recommends Ember Data as a client-side facade (unloadRecord after save) and stresses accessible labels, required attributes, logical tabbing, and clear error messages.
AI-written summary · about
chapters (8)
- 0:00Introduction to forms
- 2:30Why forms matter
- 4:16Making components composable
- 12:49Performant data handling
- 17:25Validating form data
- 19:30Client-side state management
- 23:25Accessibility in forms
- 26:10Closing thoughts
related talks
30mMastering the Art of Forms
32mA New Model for Form Components
46mArt and Science of Shipping Single Page Apps with Ember.js
34mConquering Forms in Vue
26mThe Art of Building Modern Dynamic Forms
19mCreate a modern Ember form manager addon
51mBuilding Better Components — A Journey to a More Resilient Frontend
36mCompose All the Things
