jslizer
v1.0.94
Published
Jslizer Library Project.
Downloads
13
Readme
Jslizer Library Project
Project overview
A library to perform automated form validation, api calls, form error bindings. All from json definitions. So that those pesky if/else
checks for a set of data is no longer needed. Currently supports only Angular 1 and VueJS 2 is supported. Basically this library combines the functionality of Joi and axios libraries in seamless manner.
Next set of project goals
- [x] Provide a default angular service and controller in core factory. Sample implementation can be found in
DefaultVueController
class. - [x] Support
ReactJS 16.2.0
framework in Jslizer library. - [ ] Support for different types of payload like
application/json
,multipart/form-data
content-type support. - [ ] Provide
Date
object support in core. - [ ] Provide
File
object support in core. - [ ] Provide
UUID
object support in core. - [ ] Provide
ChoiceField
object support in core. - [ ] Add success message binding support.
- [ ] Add support for auto type conversion.
- [ ] Add support custom validation method for primitive type properties.
- [ ] Add support to download files from server.
- [ ] Write Jslizer library usage documentation for
Angular 1
framework. - [ ] Write Jslizer library usage documentation for
VueJS 2
library. - [ ] Add support for schema definition inheritance. Same validations and properties re-usability, for example: address, phone number etc. And custom error message should be same. It means there should be 1 declaration of definitions and usage extends everywhere else.
- [ ] Pre-defined schema property definition templates. That means a particular property definition template can be used over and over again by choosing to extend them or not.
- [ ] Generate component for
VueJS 2
. - [ ] Generate HTML for
Angular 1
along with provided CSS class and in-line CSS definition. - [ ] Provide pagination support for listing apis.
- [ ] Write test cases while using
Angular 1
framework. - [ ] Write test cases while using
VueJS 2
library. - [ ] Write test cases while using
ReactJS 16.2.0
framework. - [ ] Add support custom validation method for any type of property.
- [ ] Error and success messages should be configurable from a web panel.
- [ ] Schema should be browsable in a panel as a object tree.
- [ ] Add pagination support in listing api calls.
- [ ] Provide
Regex
object support in core.
Build configurations
Currently supports
Other alternative projects that inspired this repository
- Joi by The hapi.js node framework.
- axios by axios.
- Another JSON Schema Validator by Evgeny Poberezkin.
- jsonschema by Tom de Grunt.
- Schema Validation for JavaScript by Nijiko Yonskai.
- validate.js by Nicklas Ansman Giertz.
- another-json-schema by nswbmw.
- restful.js by marmelab.
- Restangular by Martin Gontovnikas .
- SuperAgent by Sloth.
- Request - Simplified HTTP client by request.