yota
yota copied to clipboard
Flexible Python web forms with asynchronous validation
Create a BaseForm class that provides abstract functionality, then have the more specific Form class inherit the base functionality.
Allow the validation to be used by multiple data sources more easily. Explore JSONSchema.
Mostly for convenience to not have to write .data every time.
This will convert the raw data from an input schema to python objects, and catch failures that will be raised as validation errors. For instance, creating datetime objects from strings.
Right now the only outputs are a form re-rendering, or a json object designed specifically for the yota jquery plugin. Expanding output generation to be slightly more general, ie easy...