improve the html form entry module

12
Improve the HTML Form Entry Module Google Summer of Code 2011 João Portela Mentors: Darius Jazayeri Daniel Kayiwa

Upload: yori

Post on 06-Jan-2016

20 views

Category:

Documents


0 download

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 Presentation

TRANSCRIPT

Page 1: Improve the HTML Form Entry Module

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

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

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

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

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

HTML Form Entry Module

Disadvantages (over XForms):

• Doesn't use schema tables

• Poor WYSIWYG editing

Page 7: Improve the HTML Form Entry Module
Page 8: Improve the HTML Form Entry Module

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

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

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

Proposal

• Use the field_answer table

Page 12: Improve the HTML Form Entry Module

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