English (current)
Test prototype and feasibility of front-end feature like WET v4.0.x plugin experimental project.
Last updated: June 14, 2016
Responsive tables with TableSaw
(was updated June xx, 2016)
Objective:
Github issue reference:
- [...] list of issues [...]
CIC Drop Down
(was updated June 20, 2016)
Refine/Show big list of content into a dropdown presentation. The expected behaviour is the user open up the drop down, choose an item, then either he choose again or the content is ajax-in bellow the control.
Latest experimental example: http://duboisp.github.io/sandbox-wet4/cicdropdown/index-en.html
Number of prototype: 2
Prototype alpha 1
Only support for one drop down
Prototype alpha 2
Support for infinite drop down, the limit are the number of imbricated list
HTML API
Operate an app by injecting a specific form interface, then on submit parsing the html result into JSON, then display the result by specifying a template
(was updated June 20, 2016)
This is a plugin divided in part:
- Plugin in context
- Interface and interaction with the user.
- Form scraping
- Plugin that contain a pre-configured set of instruction that allow the form scraping
- Controler
- Core plugin that control the execution order
The plugin run in the following sequence:
- An anchor with a link to the web form to complete Task A
- From the config, an inline form, compatible with the destination form, in ajaxed under the link.
- The inline form is submited
- The data submission is submited, either to a RESTful API or directly to the destination form
- If is through the destination form
- Send a form post
- Wait for an answer
- Run a specialized script to extract data
- Uniform the presentation of the data, like in a form of an API, also at that stage re-adjust well know information like the language and data status
- The data is available through a standardized JSON string
- Load the appropriate HTML template based on the data status
- Run a light template system that fill the template with the data retreived from the result data.
- Output the HTML formated result
Working example: http://www.ic.gc.ca/eic/site/cipointernet-internetopic.nsf/eng/h_wr00004.html