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

RE: XForms, client or server layer

From: Micah Dubinko <MDubinko@cardiff.com>
Date: Wed, 23 Jan 2002 17:01:42 -0800
Message-ID: <E840F0B7E6189547BDB91DA8BF2228AB28C17F@csmail.cardiff.com>
To: "'tcowan@silverstream.com'" <tcowan@silverstream.com>, www-forms@w3.org
One of the problems with the current HTML forms is that everyone needs to
write all their form logic twice, once in JavaScript on the client, and
again in CGI/Perl/Java/Tcl/etc. on the server.

(This is the "don't trust the client" principle. Someone could always telnet
to the incoming data URL and manufacture legitimate-seeming data. Or
recompile the browser without validations. Or...)

With XForms, it becomes possible to write a form (an XForms Model
specifically) once, and have both the client process it and the server
double-check it. Implementations so far are taking both approaches.
Examples: X-Smiles (www.xsmiles.org) as client side Java, Chiba
(www.sourceforge.net/projects/chiba) as Java servlets.

We'd definitely welcome feedback on either approach.

.micah

-----Original Message-----
From: Taylor Cowan [mailto:tcowan@silverstream.com]
Sent: Wednesday, January 23, 2002 2:09 PM
To: www-forms@w3.org
Subject: XForms, client or server layer


Does anyone mind if I ask a question about XForms?

Are clients implementing support for XForms, or is it seen as a server side
layer to convert HTTP form postings back into the XForm spec, and then
sending a response back based on a transform of an XForm into its HTML form
representation?

Unless IE supports it, practicality would lead me to believe it's all about
some server side software.

Taylor
Received on Wednesday, 23 January 2002 20:04:16 GMT

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