W3C home > Mailing lists > Public > www-forms@w3.org > January 2007

Re: [whatwg] Comparison of XForms-Tiny and WF2

From: Dave Raggett <dsr@w3.org>
Date: Fri, 19 Jan 2007 10:43:44 +0000 (GMT)
To: Matthew Raymond <mattraymond@earthlink.net>
Cc: WHAT WG List <whatwg@whatwg.org>, www-forms@w3.org, public-appformats@w3.org
Message-ID: <Pine.LNX.4.64.0701191008330.5331@holly>

Hi Matthew,

The idea behind XForms-Tiny is to build on the strengths of both Web 
Forms 2.0 and XForms, and to incorporate ideas from both. I took a 
very practical approach to that by seeing how far I could get with a 
cross-browser library that works on as many as possible of today's 
browsers so that people can start using it now without needing to 
wait for native browser implementations. The library works on a very 
high percentage of today's desktop browsers and has been tested on 
Internet Explorer 6 and 7, Firefox 1.5, Firefox 2, Opera 9, 
Konqueror 3.5, and Safari. I will keep the library in sync with the 
specification work as that proceeds.

>From your comments, you seem to be very confident of your scripting 
skills, and would have no problem in emulating my examples on top of 
WF2. However, having to write and debug a new script for each new 
page soon gets tedious. Declarative approaches are much easier to 
write and much better suited as a target for authoring tools. I am 
working on an open source browser-based authoring tool for 
XForms-Tiny to demonstrate just that point. The declarative nature 
of the type, min, max, step, required, relevant, pattern, validate 
and calculate attributes in XForms-Tiny also makes it practical to 
automatically generate server side scripts for validating submitted 
data, which you would otherwise have to write separately from the 
client side code, with all the risks that that entails.

The current implementation of XForms-Tiny is just a snap shot, and I 
am working on incorporating more of the great ideas in WF2. The 
specification will be elaborated on the W3C Forms wiki over the next 
month or so, as a precursor to a W3C Working Draft.

  Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
Received on Friday, 19 January 2007 10:44:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:08 GMT