Slashdot Mirror


XForms Essentials

mseaborne writes "So, why should anyone be interested enough in XForms to want to read XForms Essentials in the first place? Well, if you make your living sweating over hot JavaScript and HTML, fighting against technologies never really intended to help you write even fairly simple forms that require such mundane, work-a-day functionality as cross-field validation, data prepopulation, or even reliable data typing; then XForms may be for you. If there are forms you would love to deploy over the Web, but they are too many, or are too complex to even attempt with HTML 4, then for you too, XForms could be the answer." Mark is also an interested party in XForms' success and improvement; he says he "joined the XForms Working Group after all the hard work had already been done." His review continues below. XForms Essentials author Micah Dubinko, pages 240 publisher O'Reilly rating 9 reviewer Mark Seaborne ISBN 0596003692 summary Introduction and reference to XForms 1.0

The motivation for XForms came from a realisation that the Web has pretty much ignored the needs of forms-based sites up to now, beyond the simplest and most trivial of uses. That more complex forms do exist on Web sites today says more about the ingenuity of their authors than about the utility of HTML forms. XForms is designed to make form authoring, maintenance, deployment and redeployment to different platforms, work.

XForms removes the need for reams of script to make a web form function. No longer must you code business (or any other sort of) logic right into the UI. Instead, you write rules against the XML data structures you want forms to populate (that's right, data structures, not name value pairs, unless that is actually what you want). XForms lets you bind the UI to the data structures directly (or indirectly, if you want to be really clever). The UI responds to changes to the data, rather than the other way round, and suddenly life really does become much easier. Granted, you must first make the mental leap from a procedural to a declarative frame of mind, but once that is achieved you will soon be reaping the benefits.

Rather than pontificate on the wonders of XForms (and I am biased, being a Working Group member), I would urge you instead to take a look at Micah Dubinko's book. (Micah is even more biased than me, having been a Working Group member for much, much longer.) No purchase is necessary; you can read the full text online, though I will admit that even I did end up getting the hard copy eventually. The book is small, and paper still has something over HTML, even when viewed on an Apple PowerBook.

Given that you can read Micah's book on the web, I really would urge people to look at it before attempting the rec. itself. The intended audience for the XForms rec. is the XForms implementer, rather than the XForms author. So, short and well-written as it undoubtedly is, this is not an easy read. If you are not sure how much time to invest looking at XForms, you could do worse than read the first chapter of Micah's book. It explains why XForms is as it is, and how it got there. It lays down the principal problems with HTML forms, and explains how XForms is better.

Having roused your curiosity in Chapter 1, the second chapter works through an example form. It introduces the reader to XForms functionality, and points to the ways in which XForms is built on a foundation of much-loved and popular W3C recommendations, such as XPath, XML Schema and CSS. Fortunately Micah does not assume that the reader is fully conversant with these technologies; he has written very serviceable introductions to them in subsequent chapters.

Most of XForms Essentials is a reference to the XForms recommendation, with enough examples and usage notes to make entries useful to beginners and old hands alike. Micah provides tips on how to get the most out of XForms, and how to miss the most common pitfalls: for example, how to avoid the need to write complex XPath expressions. There is even a dedicated troubleshooting chapter which people will probably find invaluable, for a while at least. However, as your forms become more ambitious, you will probably hit problems not dealt with by Micah. I think this is inevitable, given the youthfulness of the standard and its implementations. Micah has said that he will update the text as necessary. People should watch his blog site to see what Micah adds.

Micah's text is concise and pithy throughout. Consequently, one of the chief virtues of XForms Essentials is that it is short. To be fair, this partly stems from the conciseness of the XForms recommendation itself. However, it is also an indication that some topics are only covered briefly. For example, there is very little mention of security issues. XForms Essentials certainly doesn't tell you how to deploy forms onto the web. I suspect that some omissions result from the lack of a body of XForms deployment experience as yet as much as from a desire to keep the book short and focused. Micah does, for example, make some useful suggestions about authoring best practices, but these are necessarily sketchy. They do get you thinking, though, about the possibilities opened up by XForms.

The final chapter covers extending XForms. At the moment this mostly means how to use scripting with XForms. I suspect that people initially drawn to this section will ultimately not find it nearly as useful as they first thought, as XForms really does remove the need for most scripting. However, it would be ridiculous to suggest that scripting does not have its place in web development, and Micah suggests what that place might be.

Micah has combined several functions in this book. XForms Essentials answers the question of the moment, "Why XForms?", and so helps to justify interest in yet another W3C recommendation. It is a very good introduction to XForms for the complete beginner, and a handy, desktop reference for the everyday author. You may only read the outer chapters once or twice, but the core of the book will remain invaluable.

What is really missing from the book is any good information on XForms implementations. This is fair enough, the book will remain useful as implementations come and go. However, Micah has written an article describing ten XForms implementations. The article is up-to-date enough to be very useful. The fact that Micah was able to find ten implementations already speaks volumes for the interest generated by XForms (as well as suggesting that the spec is quite implementable). Please bear in mind that Micah's list is selective, not exhaustive!

I have now spoken to a number of people new to XForms (as are we all just now), many of whom use Micah's book, and all report that it is a useful resource to have around. Every one has ended up buying it in the end.

Mark Seaborne works as a technical architect for Origo Services Ltd, the XML message standards body for the UK Life Insurance Industry. When your eyes get tired, you can purchase XForms Essentials from bn.com. Slashdot welcomes readers' book reviews -- to submit a review for consideration, read the book review guidelines, then visit the submission page.

131 comments

  1. xforms is intriguing by prockcore · · Score: 2, Interesting

    xforms is indeed intriguing and anyone developing a complicated web tool could find this technology a godsend. However from what I've seen, it's extremely complicated (on the scale of p3p) and difficult to use.

    1. Re:xforms is intriguing by Tablizer · · Score: 2, Interesting

      However from what I've seen, it's extremely complicated

      Alternative potential protocols include XWT (xwt.org) and my less-mature pet, SCGUI. The nifty thing about SCGUI is that it does not necessarily require Turing-complete client-side scripting to be usable (it is "declarative" on the client side), reducing virus and trojan horse problems. However, it does not rule out the addition of scripting if security is less of an issue, such as intranets.

      Standards groups should study existing protocols to learn things before starting from scratch. I see no evidence that they evaluted XWT nor SCGUI.

    2. Re:xforms is intriguing by iabervon · · Score: 2, Interesting

      I think it's mostly just verbose. It's designed in the "xxml" style, where you skip using any useful xml features and use xml tags to represent them. (E.g., you have an item, which has a label and a value. The economical way to do this is to make the value an attribute, since it can't contain markup, and have the label be the content of the tag, since it possibly can. The way they do it is to have a tag, which contains a tag for the label, which includes the text of the label, and a tag for the value, which includes the text of the value. Verbose, hard to read, and doesn't validate the markup as tightly. But it seems to be the fashion these days.)

      It also requires you to first specify what the form is supposed to contain as far as results, and then specify how the form is supposed to be arranged. This is verbose, but it is probably an advantage for JSPs and CGIs and so forth (i.e., anything that has forms in it), because it means that there is a place that specifies what form submissions will contain, all in one place. So you don't have to dig through all of the code that generates the layout of the form to find the input tags to figure out what will be in the request.

      Of course, it does mean that there's more stuff that has to go in the document head to support stuff that will be included inline, which is kind of a pain.

    3. Re:xforms is intriguing by LarryRiedel · · Score: 1
      Standards groups should study existing protocols to learn things before starting from scratch. I see no evidence that they evaluted XWT nor SCGUI.

      ???

      The first XForms Working Draft came at the end of 2000, and the Last Call Working Draft in Jan 2002. How much existing XWT and SCGUI protocols was there to evaluate before that?

      Larry

    4. Re:xforms is intriguing by STLSegway · · Score: 1

      Now, you may think sounds crazy, but I thought of xml driven forms about a month ago. Today is the first time I have heard of it as a W3C standard! I have a WYSIWYG I have been working on a (oops) MS VB.Net application that has a wrapper to an IE control. The IE control points to a html doc that contains JavaScript drag/drop code. What's nice is the ability to make calls back to the VB.Net application via window.external.foobar (foobar is in VB.Net) The js sets values to the controls for positioning. The application described above is the xForms Wizard. As of today's date, the wizard does not actually create the output document; but it is coupled with the database Schema. (ie INFORMATION_SCHEMA in MS SQL Server) The output document will need to be in xForms format, the bad thing is, I DON'T KNOW IT! LOL. http://www.formsplayer.com offers a nice rendering engine (a piece I wasn't looking forward to creating with ASP.Net, yikes!) anyone interested in helping to create a xForm doc from the property data from the xForm designer I started? cheers! ______ A web form can be created in 10 minutes, period. --STLSegway/slashdot.org

  2. Tutorial, anyone? by armando_wall · · Score: 2, Informative

    Right now, I don't feel like I have the need to use them, but it's better to be prepared.

    You can find a tutorial on XForms here.

    1. Re:Tutorial, anyone? by flacco · · Score: 0, Flamebait
      You can find a tutorial on XForms here [w3schools.com].

      w3schools.com - it's douche-tastically microsoftian!

      --
      pr0n - keeping monitor glass spotless since 1981.
    2. Re:Tutorial, anyone? by flacco · · Score: 1
      You can find a tutorial on XForms here [w3schools.com].

      w3schools.com - it's microsoftianly douche-tastic!

      --
      pr0n - keeping monitor glass spotless since 1981.
  3. But where is the libforms.so.1 source? by Whammy666 · · Score: 0, Offtopic

    I tried to find the source code to Xforms-1.0 (libforms.so.1), but the download page says it was pulled for some reason. I need it for a LyX upgrade.

    --
    When all else fails, run.
  4. first hand experience by Anonymous Coward · · Score: 2, Interesting
    teaching procedural programmers declarative programming is very challenging. In fact, it's very very difficult and requires a lot of work. I hate to bash VB guys, but over the last 2 years I've had to explain declarative programming to a lot of programmers. Strong java programmers seem to get it very quickly and generally a couple hours to get a firm grasp of the core concepts. VB programmers on the other hand have a much steaper learning curve and often ask questions like, "how many functions calls would it be?"

    Declarative programming is very powerful, but the biggest challenge is teaching programmers to think declaratively. That isn't always the easiest task and often some programmers just aren't capable of understanding it.

    1. Re:first hand experience by Tablizer · · Score: 1

      I hate to bash VB guys, but over the last 2 years I've had to explain declarative programming to a lot of programmers.

      It depends on what you mean by "declarative". All those 2-column property grids in VB are declarations. Most VB'ers are reasonably well versed in them. HTML is also a declarative language, so is SQL.

    2. Re:first hand experience by Anonymous Coward · · Score: 1

      Could it be that VB people are just dumber that Java people... not a matter of declarative vs. procedural.

      Oh boy, not this again. I have met some pretty stupid people on both sides.

    3. Re:first hand experience by Anonymous Coward · · Score: 1

      SQL is not declarative.

      It is a bastardization of the TRC and RA, and unfortunately falls short of being a truly declarative relational language.

    4. Re:first hand experience by Anonymous Coward · · Score: 0

      First slashdot comment i've felt like responding to in ages.

      I agreee wholly with you sql is a bloody bastard, in fact its worse than that because of triggers and functions. (basically to get around the fact that its not a pure form of either Relational Algebra (RA) or Tuple Relation Calculus(TRC).

  5. Equivalent in ASP and .NET? by 110010001000 · · Score: 0

    Is there equivalent functionality to XForms in the ASP and .NET space? Or is there support for XForms in .NET/ASP already (I don't see any)?

    Thanks!

  6. Re:XForms are teh suck by Erratio · · Score: 2, Interesting

    Standards from 5 or 6 years ago? 5 or 6 years ago "HTML Standard" was an oxymoron. I personally don't use IE but, aside from the MS proprietary quirks, IE seems to do as good a job as any browser when it comes to handling standards, and one of the reasons it took over the browser market (other than, of course, being bundled in Windows), is the long-time lack of another appealing solution since the inital versions of Gecko were slightly disasterous (and the others didn't hold enough ground).

    I'd say that it probably will take a while for XForms to become standard but it has mostly to do with the combination of the net still emerging from the past lack of standardization, and more importantly the fact that in an environment where millions of users whom you don't control access the page, you should try to accomodate as many people as possible. Since a large number of people don't stay on top of upgrading their browsers that normally means using relatively old, trusted technologies (or writing alternate versions of everything).

    --
    I don't try to be right, I just try to make people think
  7. XForms look very interesting, but ... by jpkunst · · Score: 3, Insightful

    I suppose we will have to wait for widespread browser support before we can use them in web applications. And I'm not holding my breath for that to happen, especially with Microsoft putting IE development on hold.

    I think we will have to make do with the <form> tag for the foreseeable future.

    JP

    1. Re:XForms look very interesting, but ... by Anonymous Coward · · Score: 0

      I suppose we will have to wait for widespread browser support before we can use them in web applications.

      Not necessarily. One of my side projects is a server-side XForms UA. Basically, in a document, you include an <xf:form src="/forms/foo.xform" /> element. The server-side magic automatically generates appropriate XHTML and Javascript to "emulate" the XForms behaviour, at least in part. You call a function in the server-side form handler to do the same when the form is submitted.

    2. Re:XForms look very interesting, but ... by cgranade · · Score: 1

      I care not up until Mozilla Firebird and Mozilla support it. Then I'll start caring. As a web designer who does all personal stuff, I have the luxury of sticking to W3C standards all the way, and if Mozilla is the only one that supports them, then that's what I'll use. For the same reason, I haven't worked to hard on XUL. Not that it isn't great for what it's designed for, but I won't use XUL on a web page, shutting out fully compliant browsers (after all, XUL isn't W3C!).

      --

      #define DRM chmod 000

    3. Re:XForms look very interesting, but ... by savuporo · · Score: 2, Informative

      There are already quite capable plugins out there. http://www.w3.org/MarkUp/Forms/#implementations IIRC ive tinkered with Mosquito, FormsPlayer and Xero. Although PDF hasnt been natively supported in browsers, it hasnt stopped its widespread use on the web.

      --
      http://validator.w3.org/check?uri=http%3A%2F%2Fwww.slashdot.org Errors found while checking this document as HTML5!
  8. IE support is doubtful by Irishman · · Score: 1

    I think XForms is a technology that is long overdue. The blending of form and presentation, along with a lack of reusability in web forms is something that should have been solved long ago. HTML just does not make a good UI for complex applications.

    That all being said, there is absolutely no incentive for Microsoft to support this or any of the other useful W3C standards in IE. In fact, it is in their best interest not to. Until IE supports this, only 3rd party plugins can let web designers utilize this technology. Unfortunately, many companies refuse to allow the installation of plugins that are not blessed by MSFT or are not ubiquitous (e.g. Acrobat Reader) This means that web applications must wallow in the dark ages, or use MSFT backend that plugs into IE specific hooks on the browser, basically giving MSFT end-to-end.

    1. Re:IE support is doubtful by Tablizer · · Score: 0

      If an XForms browser was relatively small and easy to install, then IT departments may be willing to install one. Or, make it a pluggin, similar to Flash (which also has a forms technology of its own, I would note.)

    2. Re:IE support is doubtful by Tablizer · · Score: 1

      I think the moderator misunderstood what I was saying above. The context was the assertation that IE is too entrenched to expect IT standards departments to pick something else in order to get Xforms.

    3. Re:IE support is doubtful by leighklotz · · Score: 1

      If an XForms browser was relatively small and easy to install, then IT departments may be willing to install one. Or, make it a pluggin, similar to Flash (which also has a forms technology of its own, I would note.)
      There is actually an XForms implementation done in Flash, under development at DENG.

  9. different xforms by SHEENmaster · · Score: 1, Informative

    It's closed source, and the savanah download page is still down. This is a different Xforms than the one the article is about.

    I email Angus Leeming, and he replied with:
    The savannah site was hacked some weeks ago and the savannah guys took everything offline in order to rebuild the site in a safe manner. They have been gradually returning the site to its former status. I think that the download page is the only remaining victim.

    I'll get on to them and ask them for a progress update.


    You might try Debian/Sid; it contains xforms for my LyX install. I'm looking for the Solaris build; email sheenmaster at osnippets.org if you come across it.

    --
    You can't judge a book by the way it wears its hair.
    1. Re:different xforms by ptr2void · · Score: 0, Offtopic

      IIRC, xforms finally went GPL. Too late though -- GTK+ and Qt were superior even in their 1.x releases, and the world has changed a lot since then...

      Also, LyX now has a Qt port AFAIK.

    2. Re:different xforms by SHEENmaster · · Score: 1

      Not sure about the GPL'ing, but the Qt port of LyX is unstable as hell.

      If the Qt port ever stabilizes, I'd love to see a Zaurus port.

      --
      You can't judge a book by the way it wears its hair.
  10. Validation and the GUI by RetroGeek · · Score: 4, Insightful

    No matter how much the browser will do, you still need to validate the entered information at the server.

    While XForms may ease the minds of some, anyone who trusts client side validation is kidding themselves. So yes, while it might be easier to format the forms, and you have easier client side actions and validation, you cannot really trust the information when it arrives at the server. All the same validation must be performed again.

    Because people WILL hack the data stream and try to insert bogus information. The one thing that they CANNOT do is corrupt the server side business logic (short of hacking the server, in which case you're hooped anyways).

    The best that client side validation can do is provide quick feedback to the user, and/or update GUI displays (such a totalling a column of numbers for a shopping cart).

    I once subverted an input form which insisted that I enter a name. So I looked at the Javascript and found that it was testing for an empty string. So I entered a space, and the site let me in!

    --

    - - - - - - - - - - -
    I am a programmer. I am paid to produce syntax not grammar. Deal with it.
    1. Re:Validation and the GUI by Anonymous Coward · · Score: 0

      I once subverted an input form which insisted that I enter a name. So I looked at the Javascript and found that it was testing for an empty string. So I entered a space, and the site let me in!

      That seems like an awful lot of work -- searching through the source -- when a simple "X X" would probably have sufficed. Do people actually enter their real names anyway?

    2. Re:Validation and the GUI by Abcd1234 · · Score: 3, Insightful

      No matter how much the browser will do, you still need to validate the entered information at the server.

      Well of course. No one in their right mind would suggest that the client should do all the data validation, and the server none, for the exact reasons you gave. However, your argument is probably a little too strict, in that it is perfectly allowable to have a great deal of the data verification occur in the client, with the server only performing the final verification step before committing the transaction.

      In addition, you gave the exact reason why client-side validation is good: it can "provide quick feedback to the user, and/or update GUI displays", which takes load off the server side and reduces the amount of network traffic involved in the transaction, while at the same time improving useability, since you don't have to make multiple transactions to perform every single operation the user might wish to perform.

    3. Re:Validation and the GUI by Tablizer · · Score: 2, Interesting

      While XForms may ease the minds of some, anyone who trusts client side validation is kidding themselves

      On smaller intranets it may be okay, since the chance of users being devious hackers is rather small. However I agree that ideally the server should also check. Ideally the declaration of what the validation should be should go on the server, and that validation is automatically echoed to the client script/XML also, so that both client and server checks. The key is to only have to declare the validation in one place and then have the framework implement it on both sides.

      I once subverted an input form which insisted that I enter a name. So I looked at the Javascript and found that it was testing for an empty string. So I entered a space, and the site let me in!

      JavaScript is a crappy validation language. It has no built-in Trim function/operator, for example, and date checking requires too much object instantiation and reg-ex's. Make it a damned single isValidDate function, for petesakes.

    4. Re:Validation and the GUI by prockcore · · Score: 3, Interesting

      No matter how much the browser will do, you still need to validate the entered information at the server.

      True, but that's no reason not to validate at the client. It's much easier to let the client pop open the little warning dialog letting the user know that they screwed up the date for example.

      It's the whole user-friendliness part that makes form building such a pain in the butt. You basically have to build each form twice. The initial form, and then an error-version of the form which lists what they screwed up, and pre-fills in all the stuff they didn't screw up so they can fix it.

      What we do now is such a horrible hack.

      So for user-friendliness, client-side validation.. then on the server side we just do a quick validation and if there are any errors, it's because the client is trying to break us, and we just spit out a warning page that says "error".. no need to be friendly.

    5. Re:Validation and the GUI by ThatDamnMurphyGuy · · Score: 4, Informative

      No arguments there. But what XForms ALSO brings to the table is the fact that if done right, you can use those same XForms/XSD documents/snippets to generate or run the server side processing code as well.

      Client side forms + validation PLUS server side validation all form the same drops of XML shared on the server.

    6. Re:Validation and the GUI by leighklotz · · Score: 1

      So yes, while it might be easier to format the forms, and you have easier client side actions and validation, you cannot really trust the information when it arrives at the server. All the same validation must be performed again.

      That's exactly the point of XForms. It allows you to specify validation in a declarative fashion, using XML Schema and simple XPath expressions. These same validation declarations can be used on the server side, and indeed, can be programmaticaly derived from existing constraints.

      Some folks may be using Relax NG on the server side, instead of XML Schema. While XForms 1.0 doesn't provide for RNG (Relax NG) Schema validation, it doesn't require very much change to the standard to do so, and I fully expect that it will be present in both the standard and implementations, precisely because of the point you are making: client-side validation that has to be hand recoded from the native server-side declaration (e.g. into crashy JavaScript) isn't much use.

    7. Re:Validation and the GUI by tanguyr · · Score: 1

      Two of the nice things about XForms (for anybody who writes HTML forms today) are (well, will be):

      1) information is submitted as an xml document... which means you can structure info as opposed to HTML forms' "flat" name-value pairs. Given the great tools for validating and manipulating xml structures in memory, this means less (and simpler) code (both validation and "business" processing) on the server side.

      2) Xforms offers more elegant solutions to the behaviour vs. appearance issues of HTML forms. Changing an html multi-select to a series of checkboxes requires all kinds of tedious changes to your code ("selected" vs. "checked", etc) - it's not brain surgery but you wind up with those real ugly jsp/php/whatever pages for complex forms, especially a reloadable data-driven form used for adding or editing records: i know i've got a couple of monster forms that i just don't want to touch any more.

      Of course, two of the bad things about XForms (gotta be fair):

      1) No browser currently supports them out of the box. The first browsers will (just guessing) in late 2004, and you won't be able to count on most of your site users having native support until quite a while after that. It's december 2003 and 6% of my hits come from Netscape 4.x

      2) XForms are waaaaay more complicated than HTML forms. It's kind of hard to justify the kind of effort needed to master xforms when it won't be a resume star for another two years or so (again, just guessing). On the other hand, i remember "you will need a table-capable browser to view this site". At some point it will be worth bitinig the bullet and learning this stuff, and early adopters end up ahead of the curve.

      Check out chiba (http://chiba.sourceforge.net) - server side xforms processing (generates html for the client and then maps back to xml instance data on the server side). It's a pretty decent project (GPL) - you can deploy the sample war on tomcat and be poking a stick at the examples in no time, and the developpers are present on the mailing list and make a fair go at helping you if you have any problems.

      /t

      --
      #!/usr/bin/english
    8. Re:Validation and the GUI by Taliesan999 · · Score: 1

      For usability you should avoid popping up a message saying to the user that they got the date wrong. Javascript date popups are so much friendlier for the average user (either attached to a read only text field or a read write one to allow advanced users to tab through fields and enter manually).

      You should try and make it difficult for the user to enter invalid data in the first place, as well as popping up messages to indicate the wrong data has been entered.

      From a quick glance, XForms seems an excellent way to specify data validation on both the client and the server side. The same XML that is used to validate/generate validation for data on the client side can be used to do the initial validation on the server side.

    9. Re:Validation and the GUI by RetroGeek · · Score: 1

      These same validation declarations can be used on the server side, and indeed, can be programmaticaly derived from existing constraints.

      That would make sense then. You only need to create the checking code once, then have some engine generate the required code for both the client and the server.

      --

      - - - - - - - - - - -
      I am a programmer. I am paid to produce syntax not grammar. Deal with it.
    10. Re:Validation and the GUI by RetroGeek · · Score: 1

      It's much easier to let the client pop open the little warning dialog letting the user know that they screwed up the date for example.

      Easier from what perspective? To do validation at the client I need to code essetially the same logic twice. Once at the client, then the second time (in a different language) at the server.

      I am lazy. I prefer to code once.

      --

      - - - - - - - - - - -
      I am a programmer. I am paid to produce syntax not grammar. Deal with it.
    11. Re:Validation and the GUI by RetroGeek · · Score: 1

      That seems like an awful lot of work

      Call it curiosity then.

      I never use my real name at a registation site anyways. And I usually fill in bogus info for surveys.

      Except slashdot polls of course....

      --

      - - - - - - - - - - -
      I am a programmer. I am paid to produce syntax not grammar. Deal with it.
    12. Re:Validation and the GUI by Lozzer · · Score: 1

      So people without client side scripting are all hackers? Strive to be nice with the server side validation as well, although I could understand this being one of the last places you'd want to invest programmer effort.

      --
      Special Relativity: The person in the other queue thinks yours is moving faster.
    13. Re:Validation and the GUI by Anonymous Coward · · Score: 0

      ...you mean, like ASP.Net does?

  11. Re:XForms are teh suck by Gwala · · Score: 2, Interesting

    I'm not sure this is fully troll. The AC raises a good point, who will use XHTML2? IE's next version is tied to longhorn, and since both it controls the market, and that longhorn aint out for another 2 year's, that's a lot of time to wait.

    The value of the XHTML standard for general use, is also questionable. A lot of old mum/dad user's are still using AOL3, with IE3/4 who cant display XHTML, and the only real differences is tighter control on syntax, rather than any tangible benefit's, (like more tag's / attributes, or something cool like CSS), it's also more confusing to the new webprogrammer, and waste's several additional bytes on common tags.

    As for XForm's, I cannot comment - but if it's tied to the XHTML standard, then I suspect it's going to take at least half a decade to materialise.

    -Adam

    --
    #!/bin/csh cat $0
  12. XForms in Mozilla is not coming soon by nsushkin · · Score: 4, Informative

    There is a long discussion of the proposed XForms support in Mozilla Bug 9786. There are 460 votes for this bug, however the support is not forthcoming. Basically, there is no one willing to implement XForms in Mozilla because XForms has too many dependencies on other XML modules that are not implemented in mozilla.

    If you are developing only for IE6, you can use a commercial formsPlayer component. I tried their demo, it looked decent.

    There are also server-side XForms modules that render XForms as HTML forms. For example, Apache project lists JXForms.

    1. Re:XForms in Mozilla is not coming soon by po8 · · Score: 4, Insightful

      I just read the first few chapters of the book online. They confirm my earlier impression from when some of my students tried to use XForms as a key piece in a project about a year ago: XForms is a classic committee standard. Xforms is too complicated for mere mortals to use, and too complicated for mere mortals to implement.

      I'm not primarily a web designer, but I've built several HTML forms in my life. I found it quite simple, and found workarounds for many of the problems with HTML Forms cited in the text. It looks like it would take me literally a couple of weeks to figure out how to build the same forms using XForms. I don't have that kind of time. Nor, as the parent post implies, do I have the time to get the needed tools working so that anyone can use the resulting forms.

      My students were trying to use XForms to define the GUI of a simple Java app. They ultimately got it to work, but by then, they had burned all the project time they had. They got too deep in the alphabet soup, and couldn't escape.

      I'm neither stupid nor ignorant. I understand SGML, HTML, and XML passably well. If I can't figure XForms out easily, I hold out little hope for the average web designer to do it at all.

    2. Re:XForms in Mozilla is not coming soon by po8 · · Score: 3, Informative

      Having said the above, let me note that I just tracked down the W3C document XForms for HTML Authors. This document is another description of how to use XForms: I found it much easier to read than the text reviewed here.

  13. Couple quick corrections by Erratio · · Score: 1

    "and the others didn't hold enough ground" - meaning other browsers not other versions of Gecko or Mozilla. Obviously the browser only handles (and can only mangle) what it sees, so the old technology comment applies only to client-side scripting.

    --
    I don't try to be right, I just try to make people think
  14. Re:XForms are teh suck by Anonymous Coward · · Score: 0

    PNG? CSS1? CSS2? All W3C standards that IE doesn't implement fully or correctly, rendering them partially useless.

  15. plugin support by Anonymous Coward · · Score: 0

    If Microsoft refuses to support it, then can there be a third party add-in or plug-in for IE to support Xforms?

  16. No native IE adoption = no future by FartingTowels · · Score: 1
    XForms is doomed as long as it is not natively supported in IE.

    I am still looking for "native IE" solution for writing rich web-enabled client apps -- short of hacking gigabytes of ugly JavaScript that is. XUL would be nice!

  17. I dunno about you... by Anonymous Coward · · Score: 0

    ...but I'm growing a little tired the letter "X".

    1. Re:I dunno about you... by johannesg · · Score: 2, Funny
      Y?

      Bha-dum-ching! ;-)

  18. Is this necessary? by Khomar · · Score: 2, Interesting

    With all of the tools and libraries that have been developed in a multitude of languages (not too mention the development tools of .NET), do XForms have any real advantage. In just glancing through this book, it looks to be a rather complex process to learn the new paradigm. Granted, with current HTML, it is often a very tedious process to perform validation, etc. However, the work has already been done in the creation of the libraries and tools, and the results work with most browsers. Is there anything that XForms really adds that makes it easier to use than say .NET (not too say that .NET does not have its own issues)? As another poster pointed out, we will have to wait for browsers to begin supporting this technology anyway.

    It also seems to me that a lot of this work can be handled server side as well, and this may in fact be easier to work with than relying upon the compatibility of browsers. Are XForms simply too little too late, or is there really some inherently great thing that they possess that our current tools cannot do?

    --

    I believe in de-evolution. God made the world perfect, man fell, and its been going downhill ever since!

    1. Re:Is this necessary? by Tablizer · · Score: 1

      I think what would be a "hit" would be a VB- or Delphi-like front-end to design the HTTP-bound forms. However, this would require a coordinate-based layout instead of the "flow based" layouts often found in web standards. I don't want to start another coordinate-versus-flow holy war here, only to say that I think managers prefer coordinate-based because one has full control over where everything goes. In other words, "the customer is always right, even if they are illogical". Flow-based is more logical, but logic does not match real world people :-)

    2. Re:Is this necessary? by Khomar · · Score: 1

      This is basically what .NET does. It has a graphical user interface that allows the user to place controls either with coordinates or in a flow layout (your choice) and then provide code for the controls using C# or VB.NET for the backend. Whether you like Microsoft or not, they have put together a pretty good toolset for this kind of web development.

      --

      I believe in de-evolution. God made the world perfect, man fell, and its been going downhill ever since!

    3. Re:Is this necessary? by Anonymous Coward · · Score: 0

      This is basically what .NET does.

      I have not dug that deep into .NET yet, but others say that VB-style simplicity is gone from it as soon as you do something non-trivial.

  19. Re:Tutorial, anyone? (W3C source) by Lurking+Zealot · · Score: 3, Informative
    You can find a tutorial on XForms here.
    Or you can go to the W3C Recommendation on XForms 1.0 and read the same example without the advertisements.
  20. A confusing name... by Brian+Knotts · · Score: 2, Interesting

    Had the people who worked on this never heard of the XForms GUI library?

  21. Re:XForms are teh suck by telbij · · Score: 2, Informative

    Well let's take a look at what technologies IE supports reasonably well.

    HTML 4, spec first published Dec. 18, 1997
    CSS 1, spec first published Dec. 17, 1996
    CSS 2, spec first published May 12, 1998

    So they range from 5.5 to 7 years old.

    Also, I find it offensive to hear someone say that IE handles standards as well as any other browser. Maybe as well as any browser available at the time IE 5 was released, and it has progressed very little on it's way to version 6. Please see this for a small sampling.

  22. making simple things harder by Camel+Pilot · · Score: 0, Redundant

    Checking out the tutorial here

    I find that simple example is clean in straight forward in html but significantly more verbose and convoluted in XML/Xforms. I guess I am always suspicious of technology that makes things harder to do simple things.

    1. Re:making simple things harder by markbirbeck · · Score: 1

      The sample you refer to is a little old. We have a 'Hello, World!' sample on our web-site that shows how to build a simple form that is just as compact as the HTML version. But as you'll see from the tutorial, despite being compact, this form packs a lot of power that XForms gives to the form author 'for free'. And more importantly, by using XForms it provides a foundation onto which user interfaces that are far more complex than those usually built with HTML can be constructed.

      Mark Birbeck
      CEO and CTO
      x-port.net Ltd.

      Download our XForms processor for IE
      from http://www.formsPlayer.com/

  23. Using standards saves time by October_30th · · Score: 3, Interesting

    Our faculty of the university at which I work has decided on a new layout for their web pages. This was done and delivered to us by a PR agency. I feared that it might be bad, but that fear didn't even come close to what I had to witness.

    Imagine having to tell our users (many of which are using GNU/Linux or Macintosh) that our web site only works reliably in Windows with Internet Explorer 6.0 and above. Just because a PR agency can't develop web pages. It's impossible. I had to do something about it.

    So when I implemented the layout for our department (scheduled to go live later this month), I scrapped everything they had done. I took a printout of their page (as it looked in Internet Explorer) and marked up what colors and fonts they had used.

    Then I set down and wrote the same thing using XHTML/1.0 Strict and CSS1. This was about two days work, but the finished result now validates using w3c's validate tools, and it works reliably in all browsers I've managed to try, all the way back to Mosaic and Netscape 3, with or without images (yes, Lynx, Links, w3 and other text browsers work very well indeed too).

    Not only did I get the pages to validate. By using CSS, I was able to get rid of several images they had been using with their design. The overall size of a page, including graphics and CSS, now weighs in at about 35 kbytes. This is compared to around 120 kbytes with the proposed code.

    And even better, most things can be cached by the browser (CSS code and images). The only thing that needs reloading when you hit subsequent pages is the dynamic XHTML code, which weighs in at around 5 kbytes, compares to 40 kbytes in the proposed code.

    Now, I think our students will like us. This result is even better than the pages that we have today. They render quickly and effortlessly even on old equipment or on extremely slow links.

    I havn't been able to convince the faculty to make my code the "default" yet, but they might get the idea once people start noticing that our pages load much more quickly than the rest of the faculty pages.

    So, using standards isn't always about making things render nicely in all browsers. It gives you a while heap of nice side effects that isn't worth sneezing at.

    --
    The owls are not what they seem
    1. Re:Using standards saves time by Anonymous Coward · · Score: 0

      Something tells me that if your XHTML is being correctly rendered by all those browsers, it's being served with the wrong MIME-type. XHTML should not, per the specifications, be served as text/html. It should be served as application/xml+xhtml. The W3C validator doesn't validate MIME types, so it won't warn you about this problem.

      So now you can remove the last major standards problem your site has--and you can break your site for everyone except Mozilla/Konqueror/Opera. Standards WOULD be great if everyone followed them...

    2. Re:Using standards saves time by Anonymous Coward · · Score: 0

      I've recently done something vaguely similar, albeit on a much smaller scale - my tip for anyone doing something similar is to ignore the old HTML completely. It's much quicker to copy-and-paste the formatted, tag-free text from a browser into a text editor than it is to strip out all the unnecessary HTML tags before adding your own...

      I never realised how poor the HTML produced by programs like Front Page and Word can be. :-)

    3. Re:Using standards saves time by October_30th · · Score: 1
      you can break your site for everyone except Mozilla/Konqueror/Opera

      And why would I want to do such a thing?

      --
      The owls are not what they seem
    4. Re:Using standards saves time by Anonymous Coward · · Score: 0

      Actually, XHTML (at least 1.0) can also be served as text/html. Which, for backward compatibility reasons, makes a lot of sense. I double-checked this when I was wondering if I should configure Apache to serve out my XHTML pages using a different MIME type or not.

    5. Re:Using standards saves time by vrt3 · · Score: 2, Insightful

      Sounds familiar... didn't you write almost the same comment a few months ago? I don't remember what story it was, something about CSS I guess.

      Mind you, I'm not complaining. Your comment is on-topic, informative and perhaps also insightful, and even if I'm right and you posted this before, you're still much less redundant than the /. editors.

      --
      This sig under construction. Please check back later.
    6. Re:Using standards saves time by Anonymous Coward · · Score: 0

      You wouldn't. Which was my point (which was apparently missed by more than just you). The point is that if you follow the specs 100%, you end up with a technically correct and useless page. So I'm glad you didn't follow the standards. But I was just informing you that you didn't.

  24. If on line text is any indication ... by jc42 · · Score: 2, Interesting

    No purchase is necessary; you can read the full text online, though I will admit that even I did end up getting the hard copy eventually. The book is small, and paper still has something over HTML, even when viewed on an Apple PowerBook.

    I looked at the online text with my PowerBook, too, partly because I have four browsers there. If the result indicates anything about the project, I'd say they aren't quite ready for prime time yet.

    All four of them displayed the various <div> chunks so that their text overlapped, though in different ways. This was probably in part because, to fit them all on my 17" screen together, I had to make them rather narrow. But I do this routinely, because I always need several windows on the screen at once, and text that's formatted in 100-char lines isn't all that easy to read. (At least the doc doesn't force the page width with a width= attribute.;-)

    Internet Explorer was the worst. This was mostly because the backgrounds were all solid, so that overlaps made the covered-up text invisible. The boxed text often had horizontal lines through the text, due to bad line breaking.

    Safari was very similar to IE, but the formatting and line breaks were somewhat better. There were still headers messed up by horizontal lines.

    Mozilla and Firebird were the best, and nearly identical. This was mostly because the background of everything except the upper-left doubly-boxed text were transparent, so you could at least read nearly all the text. The headers had even more horizontal lines through the text than IE or Safari.

    I might test it on my linux box, which has even more browsers. Or maybe I won't bother. I am tempted to take a look with my PDA/cellphone. That's always an amusing test.

    Anyway, this is what should be fairly straightforward text with a few images and hyperlinks. If it comes out on the screen so badly with these common browsers, what are the chances of XForm stuff being displayed sensibly? I can see a lot of problems getting all the common browsers to handle XForm data sensibly. Do they have a scheme for preventing the usual Microsoft variant implementation?

    --
    Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  25. Webforms 2.0 by AT · · Score: 1

    While XForms may have its place, a much more useful and practical extention to standard HTML forms is Webforms 2.0. It more or less solves the 80% most common client-side validation tasks without adding a lot of complexity. This is a standard that will be intuitive to the average web developer, who is likely to be able to use it properly with a minimum of fuss. XForms is hugely compilicated in comparison, though it does solve a much bigger problem.

    Additionally, according to an Opera developer, Webforms 2.0 has a good chance of being implemented in web browsers (meaning Opera and mozilla, I'd guess).

  26. Face it... by Duncan3 · · Score: 1

    Learning XForms won't keep your job from being offshored. If you have to use a form, use a form tool, or that pesky HTML that is supported by browsers *gasp*.

    If your job really is writing HTML/Java/Forms, you better go learn some more skills and fast.

    --
    - Adam L. Beberg - The Cosm Project - http://www.mithral.com/
  27. Offtopic? Fuck you, damn HTML hags. by FatSean · · Score: 0, Flamebait

    How is it off topic to state that the technology is practically useless?

    --
    Blar.
  28. Re:XForms are teh suck by Erratio · · Score: 1

    IE has progressed very little since 5. At that time Netscape hadn't progressed much since 4 (and people had a lot of headaches getting standards to work on Netscape), until it was rewritten and stabilized and Mozilla broke off. None of the browsers yet handle the standards perfectly, even some of the older standards. Looking at the lifetimes of the browsers though, I'd say the next version of IE will determine whether it can be condemned (for standards), which there's a decent chance of since MS isn't much for standards that they don't fabricate.

    --
    I don't try to be right, I just try to make people think
  29. Javascript + FORM implementation by chadj79 · · Score: 2, Interesting

    Because this point seems to be getting lost on most. It is possible to implement XForms purely with Javascript/CSS and the old FORM tag. So its not the end of the world if IE doesn't support it. We just need a good implementation.

    1. Re:Javascript + FORM implementation by Anonymous Coward · · Score: 0

      It is possible to implement XForms purely with Javascript/CSS and the old FORM tag.

      Large frameworks in IE JavaScript? Oh please, nooooooooooo!

    2. Re:Javascript + FORM implementation by Anonymous Coward · · Score: 1, Informative

      Mod parent up.

      This already exists!

      http://www.alphaworks.ibm.com/tech/xmlforms

  30. Fix HTML, not overhaul it by Anonymous Coward · · Score: 0

    I think the HTML form standard should be tweaked instead of tossed. There are three things that need adjustments to get decent forms in HTML.

    First, have the option of not redrawing the page upon submission. If each widget is named, then only send what is different per name. For example {input name="foo" value="123.12"} This would update the value in the EXISTING input box named "foo". (Curly braces used instead of angle brackets to not confuse slashdot.)

    Second, have a "grid" widget that allows spreadsheet-like data entry grids.

    Third, have validation options such as {input type="text" name="foo" format="number" decimals=2} or perhaps {input type="number" name="foo" decimals=2}

  31. concise by Clover_Kicker · · Score: 3, Funny
    Micah's text is concise and pithy throughout. Consequently, one of the chief virtues of XForms Essentials is that it is short. To be fair, this partly stems from the conciseness of the XForms recommendation itself. However, it is also an indication that some topics are only covered briefly. For example, there is very little mention of security issues. XForms Essentials certainly doesn't tell you how to deploy forms onto the web. I suspect that some omissions result from the lack of a body of XForms deployment experience as yet as much as from a desire to keep the book short and focused. Micah does, for example, make some useful suggestions about authoring best practices, but these are necessarily sketchy. They do get you thinking, though, about the possibilities opened up by XForms.
    You sure used a lot of words to describe how compact the book was.
  32. Add it to the list by Anonymous Coward · · Score: 0

    Add it to the list along with cross browser compatible advanced css layout and support for png graphics including transparency, again in all major browsers.

    I looked through the implementations and not surprisingly the present strategy for many seems to be to use an intermediary tech, like java or flash, but didn't see anything that was open source AND multi-platform AND available (some non-functional links) AND relatively easy (came across one faq with several potential java problems you probably wouldn't want to annoy visitors with).

    But an experienced geek should be able to find something to mess with for a peek at a potential future. That future doesn't seem to be now, but who knows, perhaps this will become reality before png transparency is available in all major browsers.

  33. Re:XForms are teh suck by telbij · · Score: 1

    No, none of them are perfect, but all the current browsers running Gecko, KHTML, or Opera engines are far far superior to IE 6, where things are broken in the most basic ways.

    I'm hoping and praying that Microsoft decides to play nice and implement CSS 1, 2, 3 and XHTML correctly in IE 7, because if they go the proprietary route in an attempt to dominate the web it's going to make web development a really shitty job, just when things were starting to look up too.

  34. Standards nazis by Anonymous Coward · · Score: 0
    I bet you're one of the standards nazis who make software like gv to bitch at the user if they happen to view a document that does not conform 100% to the standards:

    **** This file has a corrupted %%EOF marker, or garbage after the %%EOF. **** The file was produced by Oracle PDF driver: **** please notify the author of this software **** that the file does not conform to Adobe's published PDF **** specification. Processing of the file will continue normally.

    That happened to me for the first time and guess what. I'm switching to Adobe's closed source reader just to piss you nazis off.

  35. Its not free but.... by Anonymous Coward · · Score: 1

    Intraweb http://www.atozedsoftware.com/intraweb/ might be exactly what you are looking for.

  36. Another take on the book by 110010001000 · · Score: 0, Troll

    The author is a member of the W3C XForms Working Group, so he knows what he is talking about. This guide is a great starting point for getting to grips with XForms whether or not you are already familiar with HTML forms. This is a much better place to start than the XForms spec, which is pretty impenetrable to your average forms author. Micah takes you through the basics, shows you where XForms fits with other W3C standards, and gets you started with authoring. Once you are feeling a bit more confident this book serves as an excellent reference. One of the really nice things about the book is that there isn't too much of it. It gives a good grounding in the subject without any waffle. In the course of my work I have spoken to several others who have similarly found Micahas book to be an essential starting point to XForms, and a solid reference book.

  37. Re:XForms are teh suck by Deslack · · Score: 0
    A lot of old mum/dad user's are still using AOL3, with IE3/4 who cant display XHTML

    XHTML can be written to work with older browsers, including IE3 and 4. XHTML 1.1 Transitional even allows the usage of deprecated tags, namely FONT. And XHTML discourages bad HTML coding styles. Browsers spend too much time tolerating bad HTML.
    --
    .sigs are useless; it doesn't protect you from imposters.
  38. Re:XForms are teh suck by Anonymous Coward · · Score: 0

    But XHTML2 is entirely different, and is not backwards compatible even with XHTML1. XForms are part of XHTML2.

  39. Nothing is coming soon by fm6 · · Score: 1
    There are also server-side XForms modules that render XForms as HTML forms. For example, Apache project lists JXForms.
    Which is probably what everyone will end up using. Hell will freeze over before Microsoft or Netscape get around to implementing existing W3C specs, never mind emerging ones.

    I often wonder what the W3C people are thinking. I love all the interesting features that appear in things like CSS3. But what's the point if nobody implements them? Some of their effort should be going to lobbying the vendors and/or creating reference implementations.

  40. Spoiler warning??? by Deraj+DeZine · · Score: 2, Funny
    The final chapter covers extending XForms. At the moment this mostly means how to use scripting with XForms.

    Geez, how about a spoiler warning next time. You basically ruined the whole book by giving away the ending.

    So inconsiderate... How am I supposed to enjoy all of the great, far-fetched fiction coming out of the W3C with these kind of reviewers on /.?

    --
    True story.
  41. Exactly by SoupIsGoodFood_42 · · Score: 1
    Instead of lots of tedious dicking-around type code at the server side, you simply validate it stricly, and dump the whole thing if it's incorrect--because if it's incorrect, it because of serious error or someone trying to play games with your site, rather than forgeting to fill in a field, or enter an invalid e-mail address etc.

    I do a lot of form-based web stuff in PHP and ASP. The biggest part is oftern the form/validation/feedback stage. Sometimes you look at the code, and you could swear it was the source for some complex C++ (or whatever) program, rather than a simple web page.

    Only problem with XForms is: how long will it be untill it's supported widly enough so that we can use it? Then there's still backward compatability problems.

  42. HALF a decade? by Anonymous Coward · · Score: 0

    ...my god, that's five years.

  43. Booooooring ... by Anonymous Coward · · Score: 0

    Xforms ? Javascript ? It takes a lot of imagination to call it a 'news for nerds. stuff that matters' :-(

  44. Nice technology, but.. by rjshields · · Score: 1

    As a web developer, I have no intention of learning this technology until I am sure it will be supported by all major browsers.

    Whilst I am sure that XForms are fantastic and will lead to the eventual extinction of html forms, it is not currently pheasible to use them in web projects. I will continue to use html and javascript today, as web browsers support html forms and javascript today.

    --
    In this world nothing is certain but death, taxes and flawed car analogies.
    1. Re:Nice technology, but.. by mperrins · · Score: 1

      You need to understand that XForms is not a client only technology. J2EE or .NET application server runtimes can take XFORM documents and render them using HTML 4.0, CSS/JavaScript. The key is that the FORM designers can use simple tags to create rich self validating forms that can then drive Web Services. This will remove the need for JSP/Servelts or ASP.NET ASPX files. So please get over "The browser doesnt support it". Just think if you are a large organisation will a lot of self maintence service forms that customers need to fill in, I would implement the solution using XFORMS with WebServices driving my business functions. It would remove weeks/months of development effort. Let alone all the testing. This stuff is as exciting as Java Server Faces for J2EE world.

      Matt Perrins
      IBM

    2. Re:Nice technology, but.. by rjshields · · Score: 1

      If you can use XForms server side from J2EE or .NET, and output HTML 4, that's marvellous, I would certainly use them that way.

      However, there does seem to be a lot of noise about client side XForms, which makes me wonder as to the sanity of the beast. I don't think it's reasonable to expect browsers vendors to implement every new fad originating from the W3C crowd. It's taken us so long to get to the stage where, by and large, most browsers support HTML 4, some part of ECMAScript and CSS 1.

      --
      In this world nothing is certain but death, taxes and flawed car analogies.
  45. Re:XForms are teh suck by Crypto+Gnome · · Score: 1

    Speaking of which, checkout my website. Fully XHTML Transitional. Not terribly painful to do.

    --
    Visit CryptoGnome in his home.
  46. Why?? For god's sake, why?? by plierhead · · Score: 1
    Parent post is 100% correct. If there is no IE support, this is as much use as an ashtray on a motorbike, except for hobby uses, or just possibly, deployment of intranet applications to a closed community of users.

    Given that it is possible to write such applications using standard HTML (though no-one would claim it is easy), why on earth would anyone produce this (very much needed) solution in a way that guarantees it will only ever be of academic interest.

    We had to build something exactly like this ourselves. It would have cost over $500K in internal costs. It is great, and helps us build our app, but it is pure enabling technology and I would love to be able to use a well-supported framework instead.

    But anything that doesn't support IE is dead in the water. Microsoft will do everything in their power to make sure it does not fly on IE.

    --

    [x] auto-moderate all posts by this user as insightful

  47. Too bad the name is confusing. by OrangeTide · · Score: 1

    When I first saw the headline I thought it was refering to the X11 GUI Toolkit (that was quite popular a few years back). XForms is a X11 toolkit that is featureful and free for non-commecial use.

    Why could they have called it XMLForms or XWebForms? oh well.

    --
    “Common sense is not so common.” — Voltaire
    1. Re:Too bad the name is confusing. by rjshields · · Score: 1

      Don't you know it's the latest W3C fad to prefix everything with X?

      eg. XML, XPath, XSLT, XDR, XHTML, XLink, XPointer, XQuery, XSD .. etc

      Perhaps when they run out of acronyms they will start using XXX.

      --
      In this world nothing is certain but death, taxes and flawed car analogies.
    2. Re:Too bad the name is confusing. by OrangeTide · · Score: 1

      I must have missed the memo. Wait. I mean XMemo.

      Top 10 names for new feature from W3C:

      10. Xatom
      9. ~/.xinitrc
      8. xv
      7. xterm
      6. xlock
      5. XWindow
      4. xargs
      3. xmessage
      2. xset
      1. XFS

      --
      “Common sense is not so common.” — Voltaire
  48. Why just forms? by LS · · Score: 2, Interesting

    I may sound naive here, but I'm curious why this type of work is limited to forms. In fact, why are we still stuck with the "stateless" paradigm? Wouldn't it make sense to create a general GUI frontend that maintains a connection with the server? I know you are thinking Java, but I'm thinking something much thinner than that - just a front end GUI, perhaps more like X windows than Java, but accessible through a browser. There must be something wrong with this idea, or else this would be the direction we're headed, right? The whole document/hyperlink/form thing is so played out...

    LS

    --
    There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
  49. New flavor of the week. by NineNine · · Score: 1

    I've heard this many, many times before. When I was a web developer, every other article I read was about the NEW REVOLUTIONARY way of writing web apps that would replace HTML/JS/CSS on the client side. Every one of them has flopped. Trotting out the old "W3C" recommendation is a joke, really. When will people learn that the W3C doesn't really have anything to do with the web today? I don't care what whiz-bang technology they endorse; it's going to be dead in the water until users, web developers, and web browsers support it, which at this stage in the game, is a lot of different people. This is getting filed away as yet another cute, yet stillborn web technology.

  50. Re:XForms are teh suck by Anonymous Coward · · Score: 0

    Transitional? Hah. Wuss.

  51. We'll Have to Wait by SparafucileMan · · Score: 1

    If 90-95% of the browser market doesn't support Xforms (currently it must be like >3%), then it's pointless to use them. Web browsers are stagnating (w/ exception of mozzilla, kind of). There's nothing that you can't do with web pages now that you couldn't do 5 years ago. I mean, am I wrong, or can Perl & HTML4 (w/ tables for positioning!) still cover 90% of the web sites' needs in existence (look at /., yahoo, ...)? So the Committee finished their standardization. Big deal. Standardizations for a few thousand or million other things across the world were completed that day, too.

  52. QForms by Timbotronic · · Score: 1
    There's a nice alternative to XForms that's working today on most browsers - The qForms JavaScript API. Easy to use and open source under the GNU Lesser GPL.

    XForms sounds great, but as many have pointed out it's useless unless it's supported by the majority of browsers. Now that browsers are a pretty mature technology, people aren't upgrading as often. So I can't see that critical mass of support arriving any time soon.

    --

    One of these days I'm moving to Theory - everything works there

  53. Re:XForms are teh suck by Crypto+Gnome · · Score: 1

    yeah, I actually DID wuss out when it came to being fully XHTML strict. Some things were difficult and others I couldn't find a workaround/equivalence for. Mebbe one day I'll upgrade it to strict.

    --
    Visit CryptoGnome in his home.
  54. Re:Javascript + FORM implementation MOD UP. by egghat · · Score: 1

    don't have mod points now. But the link in the parent post is valuable!

    Bye egghat.

    --
    -- "As a human being I claim the right to be widely inconsistent", John Peel
  55. Re:Tutorial, anyone? (W3C source) by kwoff · · Score: 1

    Seriously, there is like a small kernel of tutorial there surrounded by fluffy popcorn.

  56. more reviews by Anonymous Coward · · Score: 0

    This site has more reviews for this book.