Open juliankrispel opened 10 years ago
Ok.
Let's say we have this Json Schema. Then the other parts of this should be templates for each type
and a kind of WidgetBuilder that takes the json identifies what templates are needed and puts them onto the page.
the other thing that the WidgetBuilder (that's a really bad name) thing needs to do is to use the publish/subscribe mechanism to glue together the form elements and the model.
To automate the generation of input interface, or forms, I'd like to implement some sort of JSON declaration. Here's a vague example of a list of form elements.