Thursday, March 15, 2007

HTML forms Next Generation

The ability to collect data from users and to submit it to servers has become a very important part of the Web. Forms are often supplemented by Web page scripts that enable the data to be checked as the user is filling out the form and before sending it to the server. These scripts can get quite complicated to develop and to maintain, making it interesting to explore ideas for replacing such scripts by equivalent declarative approaches.

XForms-Tiny is an incremental extension of HTML4 forms that can be deployed on today's Web browsers using an open source cross-browser JavaScript library that works on Internet Explorer 6 and 7, Firefox 1.5 and 2, Opera 9, Konqueror 3.5, and Safari, When delivered via HTTP as a compressed file, the download size is only 6 Kilo Bytes.

XForms-Tiny provides authors with the means to use simple JavaScript expressions for validating field values and spreadsheet-like formulae for computed fields, but also the means to describe repeating groups of fields, e.g. for line items in a purchase order. XForms-Tiny further provides for suppression of irrelevant parts of forms and context dependent control over which fields must be filled out. All this is possible without the page author needing to write any lines of client-side script.

This talk will present XForms-Tiny and place it in the context of related work (Web Forms 2.0, XForms-Basic, and XForms full) as well as the challenges for dealing with the small displays on mobile devices.

You will also learn about new approaches for browser-based editors that avoid the pitfalls of designMode and which are paving the way for a replacement for spreadsheets, browser-based editing of slide presentations and much more.



For more information, visit the W3 site:

http://www.w3.org/2007/03/html-forms

0 comments: