improve the html form entry module
DESCRIPTION
Improve the HTML Form Entry Module. Google Summer of Code 2011. João Portela Mentors: Darius Jazayeri Daniel Kayiwa. 4th year Informatics and Computer Engineering Faculty of Engineering Porto University. João Portela - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/1.jpg)
Improve the HTML Form Entry Module
Google Summer of Code 2011
João Portela
Mentors:
Darius JazayeriDaniel Kayiwa
![Page 2: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/2.jpg)
João Portela
OpenMRS ID: jportelaIRC: jportelaSkype: jppcportelaEmail: [email protected]
4th yearInformatics and Computer Engineering
Faculty of EngineeringPorto University
![Page 3: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/3.jpg)
João Portela
OpenMRS ID: jportelaIRC: jportelaSkype: jppcportelaEmail: [email protected]
4th yearInformatics and Computer Engineering
Faculty of EngineeringPorto University
![Page 4: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/4.jpg)
HTML Form Entry Module
• Created by Darius Jazayeri
• Creates forms using HTML code
http://wiki.openmrs.org/display/docs/HTML+Form+Entry+Module
![Page 5: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/5.jpg)
HTML Form Entry Module
Advantages (over XForms):
• Plain HTML is better for slower/older browsers
• Can make the form look exactly like you want
![Page 6: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/6.jpg)
HTML Form Entry Module
Disadvantages (over XForms):
• Doesn't use schema tables
• Poor WYSIWYG editing
![Page 7: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/7.jpg)
![Page 8: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/8.jpg)
Use Schema Tables
• Update the schema tables when saving a form
• Generate HTML code from the schema tables
Form Schema
Form SchemaModulesModules
HTML Form Entry
HTML Form Entry
![Page 9: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/9.jpg)
Offer WYSIWYG editing
• Continuation of the work done in the HTML Form Entry Designer
module
• Based on CKEditor ( http://ckeditor.com/ )
Goal:
• map the most features offered by HTML Form Entry module
• allow easy integration of new features
![Page 10: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/10.jpg)
Currently developing:
• Update the schema tables when saving a form
Progress:
Learn how Form Schemas are savedCompare HTML Form Schema to the Form SchemaStart updating the schema tables (code)
![Page 11: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/11.jpg)
Proposal
• Use the field_answer table
![Page 12: Improve the HTML Form Entry Module](https://reader036.vdocument.in/reader036/viewer/2022082819/56813b7e550346895da49d1a/html5/thumbnails/12.jpg)
Resources
• https://wiki.openmrs.org/display/projects/Improve+the+HTML+Form+Entry+module+-+Project+Plan
• https://wiki.openmrs.org/display/projects/HTML+Form+Schema+to+OpenMRS+Form+Schema+Mapping
• https://svn.openmrs.org/openmrs-modules/htmlformentry/formschema