4 ms·
Can you point to a real world example of what you mean? I think I have heard of something similar but it didn’t seem to have caught on in any major web framewo
by throwaway_bad 7y ago
Can you point to a real world example of what you mean?
I think I have heard of something similar but it didn’t seem to have caught on in any major web frameworks that I know of (strongly typed json API server which generates runtime validators on frontend and backend). Even then most people want control over the presentation of the form and wouldn’t want to create fields from the schema (e.g. a number type is sometimes a slider and sometimes a drop down)
- tiborsaas 7y agoA friend of mine build a solution like this: https://laraform.io/ https://laraform.io/ If I have a form anything more complex than a login page, then I usually use some kind of generator based on a schema.
- bluebill1049 7y agointeresting project! thanks for sharing
- mickael-kerjean 7y agoThere's a few people trying to build libraries (https://github.com/rjsf-team/react-jsonschema-form https://github.com/rjsf-team/react-jsonschema-form) but there ain't any magic bullet. For this project (https://github.com/mickael-kerjean/filestash https://github.com/mickael-kerjean/filestash), I built my very own as no other library would work for what I wanted
- softwarelimits 7y agoI was not writing about a specific product but about a way to implement form generation. Most web frameworks come with the basic building blocks.