XForms Becomes Proposed Recommendation 247
leighklotz writes "The W3C has announced that XForms is now a Proposed Recommendation, after certification of one full implementation (open
source Java XSmiles from Finland) and two more implementations of each feature (the Internet
Explorer plug-in FormsPlayer
and the Java standalone Novell
xPlorer). XForms is the next generation of forms for the Web, and uses an
XML-based three-layer model: data model, data, and user interface.
XForms uses CSS for device independencence and is designed for
integration into XHTML 2,
SVG, and other XML-based markup
languages. A host of other implementations
are available or in progress, but my pick for most interesting is DENG, which is an
XForms to Flash compiler written in Flash. DENG supports
XForms, SVG, RSS, XHTML, and CSS. XForms is in consideration for other standards as diverse as Universal
Remote Controls and the UK
Government Interoperability Framework, and was developed with the
participation of IBM, Oracle, Xerox, Adobe, Novell, SAP, Cardiff,
PureEdge, and a host of other companies,
universities, and invididuals."
WTF? That name is already taken, try again. (Score:5, Informative)
Now it's also "the next generation of web forms" [w3.org]. Gag me with a buzzword.
It's not as if the original XForms were unknown, either -- it comes up second in a Google search [google.com] for "Xforms". These jokers should have known better.
Feh.
Minor correction (Score:2, Informative)
HTML, Tables, and CGI (Score:1, Informative)
Re:Just one simple question: (Score:3, Informative)
This is big. (Score:5, Informative)
Re:Not again... (Score:2, Informative)
And as for w3c "standards" these are not plug-ins and are not called standards because they are supported by everything.. hell, they don't even call 'em standards, they call them recomendations.
These are layed out so that people creating the browsers of tomorrow can work together to prevent any more messed-up-browser-detection-required-scripting-sh
Don't worry, now that it is a W3C Proposed Recommendation, browsers like mozilla will start to work towards it, and then someone talented will write a perl module so that you too can start using Xforms with even more ease of use in your favourite language, than you currently have using plain old s!
This is really a good thing (Score:5, Informative)
This is actually a good thing. HTML forms are badly broken at every level, as anyone who has actually tried to build a decent UI with them will know.
I have been using the draft specification for a while to produce forms in my software and it is useful because it lets me write code (PHP) which produces XFORMS XML, without worrying about how it will look. I then pass the XML through a transform and end up with good old html. Because the actual layout is produced by a transform, I can let my designers choose which transform they want to use to get the kind of prettiness they like. I can get complex layout, with sexy results, without having to write hideous html or wrangle with the cruft that is CSS each time.
That's just the layout side of things. The three-level model give me much more control over adding scripting behaviours (Javascript), abstracting the form control out into PHP classes etc. etc.
If you don't understand why html forms are broken, I suggest you start playing with Xforms. Once you grok it you won't look back. When I first came across Xforms, I thought "great, loads of complexity for no good reason" too.
Re:DOA (Score:2, Informative)
See Info Path [microsoft.com].
NB: It might not be inferior. I just said that 'cos this is
Re:This yanks the rug out from under Office 2003! (Score:3, Informative)
Re:Thank god. (Score:5, Informative)
For some good information on how to actually use xforms [w3schools.com], go to W3Schools, which also has lots of other stuff. But knock off the buzzwords, people!
Re:How will this change things? (Score:4, Informative)
Some of the key advantages will be:
1) decouple data, logic, and presentation
2) allow client side rules-based validation
3) spits back an XML record, maybe w/ schema validation
4) replaces a lot of javascript with markup
5) highly device independent (eg render an XForm via telephone, web browser, handheld)
Re:Thank god. (Score:3, Informative)
As one poster replied, Struts can do more complex repopulation work for you, if using Struts is an option to your project.