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."
in a nutshell... (Score:4, Funny)
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.
Re:WTF? That name is already taken, try again. (Score:5, Funny)
XForms is a bad name. Sure, it kinda sounds like XHTML. Here's a reality check: XHTML is a bad name. X2 was a bad name for a movie, XP is a bad version number and so is MX. X is a stupid letter. Don't go tacking it onto everything you name just to make it sound cool. A name doesn't make something cool, but it sure can make it sound stupid.
Don't even try to explain that extensible starts with an X instead of an E unless you're speaking in ebonics, and in that case, mad props.
Re:WTF? That name is already taken, try again. (Score:2, Funny)
Re:WTF? That name is already taken, try again. (Score:2)
Obligatory Futurama Reference (Score:2)
Bender: Blackmail is just an ugly word. I prefer "extortion." The "X" makes it sound cool.
Re:WTF? That name is already taken, try again. (Score:2)
Re:WTF? That name is already taken, try again. (Score:2)
Re:WTF? That name is already taken, try again. (Score:2)
Re:WTF? That name is already taken, try again. (Score:2)
Too late. The final call for modifications to the XForms proposal has passed. The GUI kit project should change its name, since it is a non-compliant implementation its own namesake. Or they can do nothing and confuse the crap out of everybody.
The Firebird RDBMS folks screamed loud, early, and often at the name collision. This standard has been around for YEARS, so it's a little late to play the change your name game.
Re:WTF? That name is already taken, try again. (Score:2)
Paul Boutin: "There are only 17,000 three-letter acronyms."
OK, so XForms is not really a TLA (and there are of course more than 17,000 of them, more like 17,576 assuming the basic 26-letter latin alphabet). But it's also not the 90s anymore, so get over it.
So many links (Score:4, Funny)
"Interesting! No, wait, the other thing. Tedious."
Thank god. (Score:4, Interesting)
Maybe they think if they make forms complex enough, and break enough browsers, the cheap labor in India won't take their jobs?
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:Thank god. (Score:4, Insightful)
If Xforms allows the browser to verify fields, doesn't that mean we base our security on trusting the client?
Re:Thank god. (Score:2)
I presume it might be useful for prevalidation to avoid multiple idiotic user errors from hitting the server, but of course you wouldn't trust it to actually validate the data before using/storing it.
Re:Thank god. (Score:5, Interesting)
My take on this: if you can validate on the client side, it saves you from having fancy (and tedious to write) code on the server side which repopulates the HTML page and allows the user to fix the problem. You still check for invalid data on the server side, but error messages can be curt and no repopulating forms BS.
All depends on what kind of site you're designing, of course.
Re:Thank god. (Score:3, Informative)
As one poster replied, Struts can do mo
Key Feature (Score:5, Funny)
Suspend and Resume. Oh, that'll be usefull for last minute regret when making large online purchaces.
Click here to submit form to purchase $2000 computer... Wait! I changed my mind. Suspend. Suspend. Hmmm... I can always use another computer, Resume!
Wow, welcome to the future (Score:2, Funny)
Maybe they should have used a different name
How will this change things? (Score:2, Interesting)
-Erwos
Re:How will this change things? (Score:2)
What I would want from XForms is that a web site does not need to send a bunch of JavaScript crud along with a page that has a form, or even worse that the user has to submit the form back to the server just to find out that there were simple errors that could have been detected on the client if the form object inside the browser had enough knowledge and intelligence to eliminate relatively simple mistakes.
XForms should make it much easier to just define what the user needs to put in the form, and the b
Re:How will this change things? (Score:2)
Which you then have to go revalidate again at the server end because you can't trust anything you get
Re:How will this change things? (Score:2)
A form can do some useful extra things without using javascript, which lets browsers get the user better feedback as to what will happen when they activate a control.
The form can specify more information about how the controls go together.
The value submitted by the form is in xml, so it can be structured.
There are a couple of new inputs, and the input tag is replaced with a set of tags, one per type, which
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:How will this change things? (Score:2)
Not again... (Score:4, Insightful)
I can make "plain old CGIs written in Perl" jump up and do tricks without any fancy new whizbang technology telling me it's time to re-evaluate the whole way I make Web forms. Not to mention the fact that this is going to be a nightmare to integrate into all of the browsers.
When people started talking about Flash as if it were some sort of an IEEE-blessed, completely open standard, and as if it were available in all browsers, (I'm sorry, but "the most common browsers on the most common operating systems" doesn't count), I knew the Web was going downhill fast. Now we're mired in our own complexity, we have a billion plug-ins (Flash, Shockwave, Quicktime, Windows Media Player, etc. etc. etc.)... and now they're telling us that plain old <FORM> isn't good enough. Dammit, I want back to 1995 and Slackware 3.0...
Re:Not again... (Score:2, Insightful)
To consider your analogy, Perl, C and company are great for scripting and application building, but at the same time, sometimes you need to roll your own language to perform operations that just
Re:Not again... (Score:2)
You make a good point regarding not keeping up with change, however, I think in the world of the Internet, it is a little different. For years, developing applications for the web have been incredibly difficult due to different implementations of standards with the different browsers and proprietary "features". As a web developer, I look at this new standard with dread, and it will probably be many years before I will embrace it due to incompatibility with my user's browsers. Users are notoriously slow t
Re:Not again... (Score:2)
Am I the only one thinking about how the <strong> tag died because it was just not rendered the same way from a NS to an IE browser?
The way people design their forms today is a graphic control down to the pixel. That will obviously not accomodate an embedded device and a 1280x1024 desktop. So people will just "sniff" the browser... and the whole point of "separation of content and markup" will die just right there.
Anyways, it's good to see people trying to
Re:Not again... (Score:2)
Re:Not again... (Score:2)
They don't care about a tag that would say "this is important" without begin sure how the important thing is rendered.
Of course, that makes it hard to make a perfect cross-browser product.
not even talking about PDAs & other stuff...
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 i t that happend during the browser wars and is a
Re:Not again... (Score:3, Insightful)
Unfortunatly, no. That was how the W3C got big, and it w
Re:Not again... (Score:2)
Well, I don't know if the W3C XML Schema is good or not, but the "normal" DTD definition is really, really ugly!
Re:Not again... (Score:2)
(I'd rather say "field", but no one but me seems to think of computing as anything other than an "industry" nowadays. Or a "business".)
Re:Not again... (Score:3, Insightful)
Re:Not again... (Score:2)
1) ensure that companies can continue to market computers to
2) consumers who complain that the technology is too complex because
3) programmers just can't leave well enough alone.
It's all a part of progress and the Darwinistic natural selection process of computer engineering. Yup, I'll be obsolete in a couple of years (if not already) but so what? That's life.
It happens.
Re:Not again... (Score:2)
It's slow progress for us; frustating most of the time; but the people who consume the products we produce clamor for more and more of it, so we must be doing SOMETHING right.
The XForms brouhaha will be yesterday's news nex
Re:Not again... (Score:2)
Here is an exercise for you, Mr. New-School Thinker. Go buy a Commodore 64. (or use an emulator...) Install Contiki on it. There you have a complete GUI system that runs in 64 kilobytes of RAM. That's KILOBYTES, not megabytes!
Great! And what else can you now do with that GUI system? Can you run a DB? Can you, perhaps, run an IM client, a P2P client, an email client, listen to a streaming MP3 station, and be reading /. at the same time? Is this 64K GUI OS event driven, and can it efficiently schedule ta
Re:Not again... (Score:2)
Why do people keep bringing up CGI all the time? Hasn't it been decades since anyone (who knows something about development) actually used CGI? That's like going on and on about all the stuff that was broken in PHP 2.0 (
Re:Au Contraire... (Score:2)
Not to burst your bubble, but there's oodles of "well-written and thoroughly debugged" code available for Java (JSP/Servlet) programmers as well. Check out OpenSymphony [opensymphony.com], the Jakarta Project [apache.org], etc.
(and partially because Perl is simply so much quicker for development!-P)
I'd say that's a debatable point.
Re:Au Contraire... (Score:2)
Right, but those are hardly the only available sources of freely available java code.
I'd guess that the amount of available Java code is within an order of magnitude of the amount of available Perl code, if one knows where to look.
The biggest thing the Java community lacks in that regard, is one centralized location to
an open letter to w3c (Score:5, Insightful)
thank you for your recommendation of yet another over-complicated standard for the world wide web. while we do appreciate the time and effort it takes to keep coming up with esoteric standards that involve the letter 'x', we currently are not searching to implement any additional layers of abstraction into our website viewing experience. we currently have xml backends that are interpreted by xslt's to generate style sheets that are controlled by dhtml, and feel that adding another abstraction layer to what was originally a simple way to serve a formatted text page would take us into the realm of meta-meta-meta-meta-programming, and that's probably two meta's too many for us. we have decided that we would rather spend our time creating interesting content, than debugging at what level our standards-based fancy pants websites are breaking on each browser.
so, while you guys are doing good job there in lotus-eating land, we on the real web will be passing on this standard.
thanks,
the world wide web
Re:an open letter to w3c (Score:4, Insightful)
Amen to that. I don't really see anything in the standard that cannot be done with the current technology (except the suspend/resume... but as another poster noted, WHY?!). While this argument is often a bad one in that it can cause one to be stuck in the past forever, in the case of web development, stability is better than progress. The web is finally starting to reach a point (after many, many years of frustration) where everyone is using the same standard and most users have capable web browsers. Yet, just when the job of the web developer is looking to become almost managable, they want to add an entirely new mess that will involve a whole new generation of browser incompatibility and proprietary "features". There just aren't enough compelling reasons to face the compatibility nightmare. Yet another worthless standard...
BTW, what is up with this whole "separate the logic from the interface" kick about. While it is an interesting programming model, I do not see why an entirely new standard is required to support it. This kind of thing is already possible given existing server-side technology. Just wondering.
Re:an open letter to w3c (Score:2, Interesting)
The idea is you can write a document once, then you can run it through one doohicky and make a PDF that looks nice for printing, run it through another doohicky and make a website that looks nice (and isn't linear like the printed version), run it through a special doohicky and it makes a web site that works for blind people, etc...
Basically, once you write the content, you never have to worry about formatting, that's not your concern.
A side effec
Re:an open letter to w3c (Score:4, Interesting)
XML-based Web services, connecting to your Application Server layer, which communicates with the Enterprise Application Integration Messaging/Queuing Layers, JDBC abstraction layers, CORBA, DCOM, interpreted/JIT-compiled ByteCode, plus all the TCP/IP messaging it all runs on across the eight servers.
two meta's too many? (Score:2)
Isn't that carrying alliteration a little too far?
(Hint: say it aloud.)
Okay, I'm sorry. I've just always liked that one.
Re:an open letter to w3c (Score:2)
we NEED something (Score:2, Interesting)
I have to disagree. There is a serious lack of an HTTP-friendly standard for GUI business forms. The current standards are optimized for e-brochures, not business forms. While it can possibly be bent screaming and fighting into an almost-acceptable business form under certain vendor's browsers, one gets charley horses doing such. HTML+JavaScript+DOM is nasty for non-trivial forms.
We need
Re:an open letter to w3c (Score:2)
Minor correction (Score:2, Informative)
CSS for device independence? (Score:3, Funny)
As someone who once wrote a cross-device content delivery platform for PDAs, WML/HDML phones, and browsers, I repeat:
Huh?
Craptastic.
Re:CSS for device independence? (Score:2)
It was really half-dead from the start.
independencence? (Score:5, Funny)
Here at /. we have human editors for spelling independencence... not to mention English grammar transcendencence... or (my favorite) just plain incoherencence...
whoo hooo (Score:2)
Just one simple question: (Score:3, Interesting)
(Combo boxes are those in which you can both enter a text and choose from a list - for example the "location" bar in most browsers.)
Re:Just one simple question: (Score:3, Informative)
This yanks the rug out from under Office 2003! (Score:3, Insightful)
You might not appreciate this, but decoupling data, logic and presentation is a good thing for us all. If I can have a form control that pulls the applicable bits out of an OpenOffice (also XML) file and displays it appropriately for the web or the PDA, or sends it to a database that needs is ... I'm one happy dataslinger.
The ability to do this sort of thing is what Microsoft has been touting as the next best thing coming soon to an expensive proprietary desktop near you as soon as they get a handle on that security stuff. But from what I have seen of the Microsoftian version of XML (totally bastardized by the Beast of Redmond), and what little I have done with Java IDEs ... this will be much easier and cleaner to implement.
Re:This yanks the rug out from under Office 2003! (Score:3, Informative)
Re:This yanks the rug out from under Office 2003! (Score:3, Interesting)
XML is supposed to be interoperable
Microsoft has taken the stance that small companies aren't likely to make use of custom-defined schemas because an IT
We don't need no backwards compatibility (Score:5, Interesting)
Re:We don't need no backwards compatibility (Score:2)
Re:We don't need no backwards compatibility (Score:2)
There's no reason to stay in the technological stone age because "Big Company X" won't get with the program.
features (Score:2)
Thing is, I happen to get annoyed with Web development as soon as I either want a user to input formatted text (just yer basic bold, italic, etc.) or I want to enable them to create an ordering in the list of objects they own. The latter currently involves a multiple selection box and a small-print A4 full of JavaScript garble.
So I guess any
Doesn't anyone care about efficiency? (Score:2, Insightful)
Re:Doesn't anyone care about efficiency? (Score:3, Insightful)
-1 Redundant. (Score:2)
Personally, I'd much prefer a simple extention of the current sytem to support other gui input controls, like, say, combo boxes.
Microsoft InfoPath? (Score:5, Insightful)
I got to test InfoPath myself this week, and found it to be a tool which was intuitive, powerful, easy to use, and standards-compliant.
Yes. The M$ product complied to every widely accepted standard possible. It uses XML almost exclusively, seems to have an extensive API, and uses syntactically correct XHTML wherever it can.
Xforms isn't even a standard yet. Don't bash M$ for not complying to it. In fact, it's quite different than Xforms in that it's designed for MUCH MORE than the web (in fact, I find that it's not really geared twoard the web at all)
So, for now, Microsoft seems to have produced a working next-generation form solution before any of the open groups or competitors. (Note: Windows is by no means my primary OS. I use Linux extensively, as well as Mac OS X, and am typing this from my Mac)
Re:Microsoft InfoPath? (Score:3, Insightful)
But it's always easier to make the compromises you want, for what you want, than it is to work with a group and come up with something everyone is happy with. So this isn't a supprise, or even unexpected.
I wonder how long it takes... (Score:2)
This is big. (Score:5, Informative)
Re:This is big. (Score:2)
Nothing to stop you from doing this now.
using innerHTML cause I'm lazy, but you could use the DOM functions of course.
What I want to see though is the ability to STYLE file inputs,
This makes the "THIN" client big (Score:2)
The only thing this changes is make the browser (once thought to be a THIN client) more complex yet again. Conceptually, a form is flat: it submits a number of key-value pairs. Putting this flat data in more interesting data structures (whether hierarcical + XML or something else) is a server side thing, the THIN client should not be bothered with it IMHO.
What do they want? Cut out the middle tier so that the br
So much noise, so little signal (Score:3, Insightful)
Having followed the development of XForms for the last couple of years, I have to say I'm pretty impressed. For instance, I've seen a stunning demo of an implementation by Oracle, where the same form has been filled in over a PC screen, a mobile phone screen, a regular phone by speaking and being spoken to, and even over an Instant Messenger buddy. The same form not different forms that do the same thing, or different forms generated from a central hybrid. People, you cannot do that with HTML forms. Until you understand the power of having a live XML instance in your form, you haven't understood the power of XForms.
Go and look at the Google search example on FormsPlayer.com and tell me that's not cool; or the live map search with XSmiles.
I know it's tough, just when you've got your head round HTML, Javascript, the DOM and all that stuff, to be told that there is something new coming that also has to be learnt, but please don't go judging it because of its name, TLA's, the fact that the spec is hard to read, or that it's new until you've actually seen it in action and tried it out.
I've been told that no other W3C spec has had so many implementations before it was even a recommendation. I think that that fact alone means we should take it seriously and try to evaluate it rationally.
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.
Can contemporary browsers implement this? (Score:2)
XForms, as a replacement for "traditional" forms, while a good idea in theory, is a scary idea in practice because we all know we'll have to wait about half a decade for the implementations to catch up, and suffer all the bugs from half-baked implementations in the mean time. On the other hand, I've witnessed enough proprietary "
Hmm (Score:2)
This stuff is all solving an extremely transient problem (weak displays on phones and handhelds - you t
Finally some people chiming in with support. (Score:2)
Question Is (Score:2)
I'm kinda tired of nitpicking webpages due to various "features" being handled differently.
Personally I'm tired of the Redmond HTML/Java standard and am ready for a Internet Standard.
Meh. (Score:2)
At this point I asked myself, will this be showing up in most browsers any time in the near future? I don't think so. There's no overriding need
Before you mock Xforms... (Score:3, Interesting)
So, you decide. WinForms, on IE with
You do not know sh..... (Score:2, Insightful)
Yippee we can write a hierarchical parser too! (Score:2)
XSLT is barely comprehensible as a language, and XFORMS in conjunction with that is completely absurd. Every X that the W3C comes out with and argues against HTML makes me think they should have quit the X's and just gracefully extended the original HTML
Re:Yippee we can write a hierarchical parser too! (Score:2)
Making a clean break from HTML was the best thing they could have done. It was a broken dead-end.
-Tupshin
Re:Yippee we can write a hierarchical parser too! (Score:2)
Dialects of XML (including XHTML) are just as readable as older style HTML.
Tab delimited files are horrible at representing hierar
'Proposed Recommendation', Eh? (Score:2)
XSLT (Score:2)
Ahh, the plug-in (Score:2)
If this keeps up, more specs might be produced before finding their ways into the core codes of the top browsers. I mean, seriously, did IE 5 need that xslt engine?
how practical (Score:2)
(see also: SVG [w3.org])
Re:how practical (Score:2)
Re:Browsers..? (Score:3, Interesting)
Re:TLA's (Score:2)
It Should (Score:3, Interesting)
It should. Seriously....
One of the biggest problems with running Linux for non-geeks is configuration. Every app has its own .appnamerc or appname.conf with its own peculiar syntax and options. Now that we have a standard for filling out forms, we can build the infrastructure for a single front end to them all.
Re:It Should (Score:2)
Re:It Should (Score:2)
*cough* GConf and KConfig *cough*
Geez people, why can't you keep up with GNOME and KDE development? They've had unified configuration systems for years.
Re:It Should (Score:2)
Re:DOA (Score:2, Informative)
See Info Path [microsoft.com].
NB: It might not be inferior. I just said that 'cos this is
Re:Hmmmm..... InfoPath anyone? (Score:2, Interesting)
Lets say I'm building a web based app. to allow users to create/update/delete records. I create a database table to store these records in. I use SQL to do this. I write documentation detailing the table layout, field types and sizes.
I write some script on the web server to perform the SQL create/update
Re:Is the Forms interface limited? (Score:2)