XForms: Next Destination for Web Forms

 
 
By Timothy Dyck  |  Posted 2003-03-31 Email Print this article Print
 
 
 
 
 
 
 

The new XForms spec takes XML interoperability to heights that InfoPath can't reach.

Microsoft Corp.s InfoPath beta provides a tool natively designed to provide a forms front end for XML data. As my colleague Jason Brooks notes, the tool is a Windows client application that requires a commitment to the latest Microsoft technologies.

The usefulness of an XML forms client in an XML-centric environment is undeniable, but theres a natural synergy between the equally interoperable HTML and XML that InfoPath misses. Those looking for another approach should point their browsers at www.w3.org/TR/xforms. The next big revision of HTML, XHTML (Extensible HTML) 2.0, includes an entirely new forms specification called XForms.

The World Wide Web Consortium did a lot of hard slogging on the XForms standard all through last year, and it entered Candidate Recommendation status in November. We should see the result this year.

Like InfoPath, XForms uses XML Schema as its native forms data type language. Form elements are strongly typed, and forms have built-in logic for common error checking, such as restricting input to a range of values, use of validating regular expressions or simply making certain fields mandatory.

Forms are described using an XML syntax and have a clean separation between form contents and form appearance. Stylesheets define the structure of the form, and the same form can be rendered differently on a phone, PDA or desktop based on screen and input method constraints.

Just as InfoPath does, submitted forms data is transmitted in XML format to the server.

Were still some distance away from XHTML 2.0 and XForms-compliant Web browsers, but they are coming (Internet Explorer among them, Im sure). XML-friendly forms are a good idea everywhere, not just on Windows.

West Coast Technical Director Timothy Dyck can be reached at timothy_dyck@ziffdavis.com.

 
 
 
 
Timothy Dyck is a Senior Analyst with eWEEK Labs. He has been testing and reviewing application server, database and middleware products and technologies for eWEEK since 1996. Prior to joining eWEEK, he worked at the LAN and WAN network operations center for a large telecommunications firm, in operating systems and development tools technical marketing for a large software company and in the IT department at a government agency. He has an honors bachelors degree of mathematics in computer science from the University of Waterloo in Waterloo, Ontario, Canada, and a masters of arts degree in journalism from the University of Western Ontario in London, Ontario, Canada.
 
 
 
 
 
 
 

Submit a Comment

Loading Comments...
 
Manage your Newsletters: Login   Register My Newsletters























 
 
 
 
 
 
 
 
 
 
 
Rocket Fuel