In order to stay DRY and simplify app building and maintenance it is seen as desirable to be able to define key aspects of the App in a shared format.
It should be possible to leverage a json-schema definition to:
- Define YUI3 Models
- Validate Model data
- Create default form views for models
- Populate forms from model data
Inputex is a form-widget library for YUI3 which has a rich array of existing widgets ( leveraging YUI2 widgets on demand ) and the ability to create forms from json-schema.
It also has an interactive form builder – and shows the possibility of converting inputex forms to Json-Schema.
Ideally this could result in a round-trip solution to assist RAD efforts.
Show us some code already
Ok, early stage proof of concept: basic user example.