Looking for an web-based "configuration" software. The idea/hopes how it should works (with some fictional examples) :
- The browser send to the server a request for configuration, e.g. sends
- After the page load, that page should contain 2 main columns,
- the sidebar where the configuration categories (menu) will appear, such: "Email-setup", "Colors", "Paths" e.g. any categories, what should be configured with the form values, and
- the main column where the given forms will appear
- The browser ask the server for the "categories" (for the menu) using JSONRPC, e.g. something like:
POST configwith an JSON content such:
- The server responds with the left menu items as JSON
- The browser renders the sidebar menu based on the got JSON
- The user clicks on some "menu item".
- The browser sends to the server JSONRPC call, to obtain the configuration items for the given category, e.g. "Colors"
- The server responds with JSON, what should contain:
- all form definitions
- the default values
- The browser renders the form items, e.g. texfiels, checkboxes and so on, based on the obtained JSON response
- When the user press "Save config", the browser should send to the server all configured values (of course - JSONRPC -> "save").
- should be open-source (licence allowing to use it in open-source projects)
- mobile friendly
Some suggestions how to address the configuration needs for different applications, without the need design zilion hand-made HTML-forms - e.g with pure JSON-RPC calls?
EDIT: Just found
http://schemaform.io - what is really close, to what i want. It:
- defines and validates the form using a JSON schema
- allow create custom form fields (like date picker, or color picker)
- generates nice looking forms
It based on angular.js - nearly OK - the drawbacks are
- is doesn't uses JSON-RPC - e.g. the schemas doesn't "comes" from an well-defined standardized API
- doesn't allows server-side verification when form-values changes
Also, similar SW as above - http://www.angularforms.org
Maybe some "bridge" between JSON-RPC and the above SW would be OK - or something similar. :)