The project supports the online entry, using a form, of data collected during an assessment and the creation of a report in PDF format using Apache FOP.
Steps of the normal flow :
HTML form >> JSON >> XML >> XML-FO >> PDF
• HTML form
Must allow for nested and repeating elements, like http://jsfiddle.net/gZC5k/1012/ using knockout.js library or equivalent.
An example of the structure is provided : SAGEN_2.json
A sample of the report in pdf format (containing dummy information) is provided : ReportSample.pdf
A document containing the mapping of the keys in the JSON file and the document is provided: DocWithKeys.pdf
There is an alternative flow, in which the data of an existing JSON are pre-loaded into the HTML form.
Steps of the alternative flow :
JSON >> HTML form >> JSON >> XML >> XML-FO >> PDF
The form, the JSON files (input/output) , and PDF files must be accessible online, via a password protected site. Users must be able to define the names under which JSON and PDF files are saved. We imagine a mini website, based on an open source framweork (Drupal, CodeIgniter or equivalent) , that comes with standard user and file management, in which the form is integrated.