Slashdot Mirror


Mozilla Starts Work On XForms

AnamanFan writes "The Mozilla Foundation, with Novell and IBM, announced the formation to implement the W3C's XForms 1.0 Recommendation on the Mozilla platform. XForms is the forms module in XHTML 2, developed by the W3C. The project enables developers to deliver the type of next-generation, rich, portable web-based applications desired by corporate IT. Is this one step away from the corporate world's dependence on ActiveX? We can only hope."

97 of 283 comments (clear)

  1. The truth is out there by Motherfucking+Shit · · Score: 5, Funny
    The project enables developers to deliver the type of next-generation, rich, portable web-based applications desired by corporate IT.
    Also, it renames the Start menu to "I Want To Believe," and installs a hot wallpaper image of Gillian Anderson. Oh, wait, X-Forms..?
    --
    "BSD: Free as in speech. Linux: Free as in beer. Windows 10: Free as in herpes." --Man On Pink Corner in #52607549.
  2. A little JavaScript, a little DOM by Anonymous Coward · · Score: 3, Interesting

    Why a complicated forms standard? Is there anything that can't be done with a little JavaScript and access to the DOM?

    1. Re:A little JavaScript, a little DOM by Tongo · · Score: 4, Informative

      Except with JS and DOM you have to code for two/three/four/who knows how many different browsers. (this is still the case isn't it? been a while.)

    2. Re:A little JavaScript, a little DOM by HTD · · Score: 5, Informative

      The standard also includes a label for every form element, which currently does not exist. This is very useful for disabled people - e.g. blind people, their screen-readers can figure out which text belongs to which form element. This is currently impossible.

      You also no longer define the type of formelement (radiobutton, selectboxes,...) the browsing tool chooses the most apropriate system. For graphical browsers radiobuttons may be cool, but for screen readers it may read the form like "choose one of the following", and for small display devices a dropdown-menu maybe better as 2 radio buttons plus their label takes up too much screen space.

      To me it makes sense, but I know that I wont use XForms anytime soon. Because there's still companies that have MSIE 5 as the only allowed browser in their IT-policy... Creating a web- application for them still includes crazy html and javascript hacks

    3. Re:A little JavaScript, a little DOM by ultraw · · Score: 3, Informative

      Anything can be done, but it will only work in one specific browser and/or one specific version. Basic stuff works with Javascript, but every browsers has another interpretation of the standards...

      However, if only Mozilla supports the Xforms2 standard, not a single site will adapt them. IE is still the market leader (yes, I'm using Firefox, so don't blame me ;))...

    4. Re:A little JavaScript, a little DOM by stray · · Score: 4, Informative

      It's a lot better than it used to be... also with CSS stuff. While we still don't have perfect compatibility between all browsers, and probably never will, you can get working results across different clients with less hassle and headache than a couple of years ago.

      Or perhaps, I just got used to it and only use a well-supported subset of code without realizing it... uh. must check. bbl.

    5. Re:A little JavaScript, a little DOM by ecc0 · · Score: 4, Informative

      Untrue. There's , used like so:

      <label for="textbox" accesskey="t">Input text here</label>
      <input type="text" name="textbox" />

      http://www.htmlhelp.com/reference/html40/forms/l ab el.html

    6. Re:A little JavaScript, a little DOM by Roug · · Score: 5, Informative

      Actually, you have to give the input form an ID, as in:

      <label for="textboxfield" accesskey="t">Input text here</label>
      <input type="text" name="textbox" id="textboxfield"/>

      and your example can be shortened to:

      <label accesskey="t">Input text here
      <input type="text" name="textbox"/></label>

      I have mixed experiences with access keys in real life. IE uses the ALT key for both pulldown menus and access keys, hence ALT-F is useless (in english-language browsers, other key-combinations are used in other languages). Then there are issues with semantics. For example, if a submit button has an accesskey attribute, should we assume that using the access key submits the form, instead of just focusing on submit button?

    7. Re:A little JavaScript, a little DOM by jonwil · · Score: 4, Funny

      Why would any IT shop not want to use IE 6?
      Its been out long enough that its had various service packs and bugfixes so (unlike XPSP2 which is only just out), its probobly safe enough to use.

    8. Re:A little JavaScript, a little DOM by ultraw · · Score: 2, Informative

      Hmmm, looks like the article is from March 2000, and the referrer software (Mozquito) is no longer at the URL they present. From what I can make out from the article, it used Java to process the pages.

      I guess that MS will stick to their ASP, and their integration with IE and ISS. It is a nice solution, and allows one to quickly program certain things, without all the hassle of validation and the such, but it is very restrictive on platform/browser.

      As far as I see it, those who want to implement XForms will have to have a Javascript "if"-block on top to decide if they present some XForms or just plain old forms with loads of Javascript to support every single browser and version.

      And yes, SOAP would be great. SOAP is the way to go for integrating different online platforms...

    9. Re:A little JavaScript, a little DOM by rpjs · · Score: 5, Insightful

      You also no longer define the type of formelement (radiobutton, selectboxes,...) the browsing tool chooses the most apropriate system. For graphical browsers radiobuttons may be cool, but for screen readers it may read the form like "choose one of the following", and for small display devices a dropdown-menu maybe better as 2 radio buttons plus their label takes up too much screen space.

      Sounds great in theory, but in practice the design monkeys are going to insist on their chosen control type be implemented as they want it. I've even had an argument where the designers wanted a bunch of check boxes with validation control to ensure only one could be ticked at a time, i.e. functionally equivalent to a group of radio buttons. Took a lot of time to convince them to change as they felt the checkboxes looked better than the radio buttons.

    10. Re:A little JavaScript, a little DOM by Dachannien · · Score: 2, Insightful

      You also no longer define the type of formelement (radiobutton, selectboxes,...) the browsing tool chooses the most apropriate system.

      As much as this is the Right Thing To Do, it isn't going to satisfy people who try to micromanage what their web pages look like. These are the same people who put caveats on their sites like "This Site Requires the Shockwave Flash Plugin", and then use a Flash widget to perform basic site navigation, but then don't provide a non-Flash way to use the site, all for the sake of dictating exactly how the site will look.

    11. Re:A little JavaScript, a little DOM by razmaspaz · · Score: 2, Informative

      Is there anything that can't be done with a little JavaScript

      Yeah, you can't do dynamic content on a browser that has java script turned off.

      Also you can't write code (easily) that works for JScript, Javascript and who knows what BS language will replace javascript in Longhorn.

      --
      I tried for 5 years to come up with a clever sig...only to realize that I am not clever.
    12. Re:A little JavaScript, a little DOM by BobLenon · · Score: 2, Insightful

      Yea, and with XForms you'll still be coding for more than one browser ....

      * Mozilla suports it
      * Opera ... maybe
      * Safari will only sorta work
      * IE - MS will invent it's own puesdo-standard

      yea - now i can write sixty different types of xforms instead of JS and DOM :)

      Of course, i could be wrong - i have had many a jaded experiences ;)

      --

      /* Lobster Stick To Magnet!*/
    13. Re:A little JavaScript, a little DOM by MexicanMenace · · Score: 2, Funny

      Took a lot of time to convince them to change as they felt the checkboxes looked better than the radio buttons.

      Good lord, don't get me started on designers and forms.

      "But putting round buttons on the page instead of square ones takes away from the feng shui of the layout man."

    14. Re:A little JavaScript, a little DOM by mcrbids · · Score: 2, Insightful

      However, if only Mozilla supports the Xforms2 standard, not a single site will adapt them. IE is still the market leader (yes, I'm using Firefox, so don't blame me ;))...

      Actually, that's not my experience at *all*. We vend various workflow automation products for schools and educational facilities. I've already done a survey to determine the impact of requiring the Mozilla browser for a web-ish product, and the issues raised in the survey ended at the words "free download".

      We already require them to download our software in order to use it - Mozilla just becomes part of "our software" to download...

      (We're talking about institutions of typically between 10 and 100 staff)

      So when I hear about Xforms coming out, I just DROOL... If I can deliver a better, more productive product faster using Mozilla, AND get a chance to improve the security of my clients' computer systems, you think I would say no?!??

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
  3. In other news... by Capt'n+Hector · · Score: 4, Funny
    In other news, Microsoft announced today that Longhorn's internet browser will be powered by Mozilla.

    Please?! I for one don't mind if they keep their source closed. Just use the damn code, and we can all be standards compliant for once.

    --
    Quid festinatio swallonis est aetherfuga inonusti?
    Africus aut Europaeus?
    1. Re:In other news... by mark_lybarger · · Score: 2, Insightful

      doesn't the mpl or one of the many licenses mozilla is released under allow corportations to make closed source versions of the software (bsdish)? or at least wrap the rendering engine with closed source software.

      the thing is, that ms's browser is really integrated a LOT. there's a lot of things in that operating system (and applications) that use the ie rendering. this would _break_ a lot of things i'd assume.

      not that it would be a bad thing, but somehow users have problems when something touches their backward compatability.

  4. Replace ActiveX?? by Dr.+Shim · · Score: 2, Insightful

    How is XForms supposed to replace QuickTime, RealPlayer, Flash, Shockwave, JAVA applets, VRML plugins ... Excuse my ignorance about XForms, but it doesn't look anything like ActiveX technology to me!

    --
    People discover the meaning of life between getting piss drunk and the following hangover.
    1. Re:Replace ActiveX?? by ultraw · · Score: 4, Insightful

      You're talking about plugins. This is something different.

      What is meant are things like "rich textarea" with some MS Office Word-like editing (through activeX) in it. Other uses are in very specific applications like the windows update and the such...

    2. Re:Replace ActiveX?? by BarryNorton · · Score: 2, Insightful

      Sorry, how are 'rich text area' controls going to be replaced?

      How are, say (from the parent), Shockwave controls going to be replaced?

      Yes, these are ActiveX controls in IE; no, they're not going to be replaced.

      What's more, for me, I'd say that more likely to be made obsolete than ActiveX controls by a better, and SOAP-compliant, forms mechanism are Java applets... and that, for me, would be great!

    3. Re:Replace ActiveX?? by WebCowboy · · Score: 3, Insightful

      Excuse my ignorance about XForms ...and perhaps about ActiveX as well. You are excused on both counts--I'm not exteremly well versed on them either ;-)

      but it doesn't look anything like ActiveX technology to me!

      I'm confused. You say that like it's a BAD thing!
      ActiveX as a concept seems cool, but the implementation makes me cringe--it should be eradicated from the planet!

      How is XForms supposed to replace QuickTime, RealPlayer, Flash, Shockwave, JAVA applets, VRML plugins

      XForms is NOT an ActiveX replacement, and it isn't meant to replace ANY of those things. It is a proposal for an elegant, standard implementation of interactive form display and processing--compared to the complete mess we have today (DOM+Javascript, or *particular* ActiveX controls, flash, etc). Ironically, XForms support of sorts is ALREADY available for IE6 in the form of an ActiveX plugin. I suppose that at least allows one to replace a myriad of nonstandard controls with one plugin that implements the bells-and-whistles using an actual standard.

      In my opinion NONE of the above plugins are of great use to me and in 90 percent of cases where they are used they only serve to be annoying. To the web authors out there--PLEASE THINK TWICE before using them. Don't use Quicktime, WMP9 or Real unless you are hosting a site dedicated to video and/or sound (I prefer to launch the player externally rather than embedded in the page anyways)! If you aren't making a web-based game then DITCH THE DAMN FLASH AND JAVA--PLEASE!

      I want simple, fast-downloading, compatible and easy-to-use interfaces. Proprietary plug-ins and bloated code get in the way. If XHTML with XForms, etc. can make some of the above crap obsolete it'll be a great step forward for the internet.

    4. Re:Replace ActiveX?? by msobkow · · Score: 2, Insightful

      Just how many order forms, bank payment systems, and other such online services make use of QuickTime, RealPlayer, Flash, or any of the traffic and media-heavy crap that you're talking about?

      Forms are about business, not eye candy. Customers need it easy, business needs it portable and reliable. XForms is both.

      There will never be a silver bullet that appeases the so-called "web artist" who likes to play with pixel alignments and color transformation maps. Most of the world really doesn't care, as long as it works.

      For that matter, a lot of the key business targets -- the 40-60 market that runs must industries don't even like the fancy animated interfaces. They literally want something as boring and simple as the computer equivalent to the paper forms they've filled out for 20 years.

      You say it only takes 5 seconds to load the graphic-heavy display. They say you wasted 5 seconds for one page out of the dozens I need to do my job. Even with a high-speed internal backbone, media is just a bad idea for anything but targetting markets that would rather watch animations than get the job done.

      --
      I do not fail; I succeed at finding out what does not work.
  5. XHTML 2? Try Web Forms 2.0... by timealterer · · Score: 5, Interesting

    XHTML 2 has a number of problems, from backwards-compatibility to human editability. A much better successor for HTML forms is Web Forms 2.0, which is also being worked on by Mozilla, as well as other major players in the industry. Obviously the real challenge is forcing Microsoft to support it.

    --
    - Allen Pike
    Altering time, one time at a time.
    1. Re:XHTML 2? Try Web Forms 2.0... by ErikTheRed · · Score: 3, Funny
      Obviously the real challenge is forcing Microsoft to support it.
      No problem! Just install this ActiveX control and you have instant Web Forms 2.0 capabilities (oh yeah, and I get all your credit card numbers... whoops... did I say that?)
      --

      Help save the critically endangered Blue Iguana
    2. Re:XHTML 2? Try Web Forms 2.0... by X_Caffeine · · Score: 4, Insightful
      eh?
      <html>
      <head><title>Adding sections</title></head>
      <body>
      &nbs p ; <section>
      <h>The Web's future: XHTML 2.0</h>
      <p>by Nicholas Chase</p>
      <section>
      <h>Good-bye backward compatibility, hello structure</h>
      <p>Why backward compatibility is over.</p>
      </section>
      </section>
      </body>
      </html&g t;
      Excluding whatever /. did to a couple tags, what's not human-editable about that?

      As long as backward-compatibility through browsers exists, a clean break could be a great idea if handled properly.
      --
      // I will show you fear in a handful of jellybeans.
    3. Re:XHTML 2? Try Web Forms 2.0... by AliasTheRoot · · Score: 2, Insightful

      And why do I care about this given my compoany has invested a lot of training time and development in a terminal based solution that works for our needs?

      An quote about goodbye backward compatability, hello structure in a broken xml fragment doesnt sell it to me, and it certainly wont sell it to my bosses.

      Why is it better? Why does it cost less? Why does it cost us nothing to replace existing apps? Why will we be able to use it in 10 years from now? Why will our staff be more productive?

      XML/XHTML/and all these other standards just dont answer the questions that are important. Sure they are "neat", but "neat" doesnt get adopted.

    4. Re:XHTML 2? Try Web Forms 2.0... by Jerf · · Score: 2, Informative

      You seem to have forgotten the link; could you provide it, please?

    5. Re:XHTML 2? Try Web Forms 2.0... by ajs · · Score: 4, Informative

      [...] my compoany has invested a lot of training time and development in a terminal based solution that works for our needs [...] Why is it better? Why does it cost less? Why does it cost us nothing to replace existing apps? Why will we be able to use it in 10 years from now? Why will our staff be more productive?

      Ok, let's take those one at a time (I'm assuming that by "terminal based" you are refering to something even more archaic than ActiveX-based form builders):

      Why is it better? Well, for starters, it's portable. Portability always sounds a tad useless because you can't see yourself moving to a different hardware or OS platform, but while that kind of portability is more important than it often sounds, portability is rarely considered in terms of moving between software platforms. Why is it better? Because you can take your forms, defined for application A and move them over to application B for the same purpose (new vendor) or for a similar purpose (say, an inventory control form that you modify only slightly and input into your POS system).

      Why does it cost less? Code is cheap. Cost to maintain code (or markup for that matter) is high. Maintaining something that has a public specification and thousands of vendors rushing to support it is cheaper than than maintaining something that is proprietary.

      Why does it cost us nothing to replace existing apps? It doesn't. See above (and factor in the change in lead-time to add new features) and perform your own cost analysis. My estimate is that most medium-to-large shops will amortize the cost of such a technology move over proprietary, terminal-based solutions within a couple of years, but that's just off-the-cuff. Talk to accounting, they'll understand what inputs you need for such a calculation quite well.

      Why will we be able to use it in 10 years from now? Because XML is extensible, so in 10 years, many new features will have been added, but the old features that you rely on will still be available (though, perhaps some of them will be available in a compatibility mode provided in response to your use of a archaic schema). I'm no XML fan, but I have to admit that this capability is one of its MAJOR advantages over many other alternatives.

      Why will our staff be more productive? That one's easy because there are so many answers: 1) Because there is less ramp-up time in learning your environment; 2) because dozens of companies are going to be competing to produce better and better editors and front-ends for such systems; 3) because the fact that you don't lock in your employees to a proprietary system means that they won't be looking to escape from your cul-de-sac and you will be able to retain a higher calibur of employee without having to over-compensate them for their rare, niche knowledge; 4) because, being a modern tool, it will interface well (or be built into systems that interface well) with other modern, high-level tools (e.g. encrypting form access is a trivial after-thought with SSL).

      I don't like the IDEA of XHTML and XForms because of the way it changes the character of the Internet, but I do have to admit that for a certain class of business, it's the best option on the immediate horizon.

  6. What's really new in XForms? by osho_gg · · Score: 5, Interesting

    From the announcemnt,

    "XForms is key to realizing the vision of a future where people can access information online on any device--and do everything from shopping and banking to checking their e-mail or calendar."

    Hmmmm?? I do all that on the web - shopping, banking, email, calender - right now just fine with the current generate technology. What's really new in XForms? Is there a XForms show-case or something like that out there?

    Osho

    1. Re:What's really new in XForms? by spiff42 · · Score: 5, Funny
      Yes, but you are missing the "on any device" part. At least all atempts so far to get my banking issues solved with my toaster have failed.

      /Spiff

    2. Re:What's really new in XForms? by andyfaeglasgow · · Score: 3, Informative

      I think the major benefit is data validation. With X-Forms, all the information you input on a web page can be checked before it is sent to the server without the need for writing reams of javascript. All you need is a simple xml schema.

    3. Re:What's really new in XForms? by duncangough · · Score: 2, Interesting

      Yes but the current widgets for web forms really suck.

      Custom widgets for credit card numbers, telephone numbers, email address and birthdates could be so much more user friendly than the current text box that serves pretty much all of those.

      Just look at the upcoming slider widget demoed in the new Mac OS, things could be so much better.

    4. Re:What's really new in XForms? by MexicanMenace · · Score: 2, Funny

      Yes, but you are missing the "on any device" part. At least all atempts so far to get my banking issues solved with my toaster have failed.

      TOASTER: You know the last time you had toast? Eighteen days ago. 11:36, Tuesday the third. Two rounds.
      SPIFF: Ssshhh!
      TOASTER: I mean, what's the point of buying a toaster with artificial intelligence if you don't like toast?
      SPIFF: I do like toast.
      TOASTER: I mean, this is my job! This is cruel! Just cruel!
      SPIFF: Look, I'm busy!
      TOASTER: Oh, you're not busy eating toast, are you?
      SPIFF: No, I'm trying to reconcile my checkbook.
      TOASTER: I mean, the whole purpose of my existence is to serve you with hot, buttered, scrummy toast. If you don't want any, then my existence is meaningless.
      SPIFF: Good. Now show my my current checking account balance.
      TOASTER: I toast, therefore I am.
      SPIFF: CHECKING ! ACCOUNT ! BALANCE !

  7. Has MS Jumped on the Bandwagon? by Anonymous Coward · · Score: 5, Interesting

    Sad to say it, but if Microsoft doesnt implement XForms into IE, then it doesnt have much of a future. I'm sure visitors would just LOVE to see a site error message "I'm sorry, you must download Mozilla 8.0 to view this website". Maybe for intranets it could be used, but not on the general internet.

    Has Microsoft expressed interest in implementing the standard? I hope so, since it looks pretty cool. However, it looks like MS already tackled a lot of the issues with ASP.NET (such as validation controls) so maybe they dont want to reinvent the wheel (or implement something that will help them lose one of their server platform's competitive advantages)

    1. Re:Has MS Jumped on the Bandwagon? by XemonerdX · · Score: 2, Insightful

      By the time Mozilla 8.0 is released, Internet Explorer will be nothing but a faint memory.

    2. Re:Has MS Jumped on the Bandwagon? by CountBrass · · Score: 2, Funny

      Ah we can all dream. Personally mine tend to involve fast cars, fast computers and fast red-heads with nice legs.

      --
      Bad analogies are like waxing a monkey with a rainbow.
    3. Re:Has MS Jumped on the Bandwagon? by Air-conditioned+cowh · · Score: 4, Insightful

      Maybe for intranets it could be used,
      Actually, that is quite significant if the intranet is coporation-wide.
      What sys-admin really wants IE on a corporate desktop anyway as it attracts so much adware and other unauthorised crud to end up on the machines. How much support time does that take up?

    4. Re:Has MS Jumped on the Bandwagon? by will_die · · Score: 5, Informative

      Microsoft's alternative to xforms is infopath. A form of it, or something like it, will be included in Longhorn as microsoft's new web/intnet based API.
      Other other major alternatives are:
      Flash/Flex from macromedia.
      Java applets.

      While they are not all the same in the way they work or what they do they all marketed as improvements to the current web forms and a way to bring back alot of the user interface capabilities that were lost with the move to web based applications.

    5. Re:Has MS Jumped on the Bandwagon? by dylan_- · · Score: 3, Funny
      Personally mine tend to involve fast cars, fast computers and fast red-heads with nice legs.
      That's not a dream; you're watching Knight Rider...
      --
      Igor Presnyakov stole my hat
    6. Re:Has MS Jumped on the Bandwagon? by arkanes · · Score: 2, Insightful
      In my experience, sysadmins are really, really lazy. They are much less interested in securing environments than they are in downloading porn and playing unreal tournament. Having a solution where you can simply pass the buck if anything bad happens (Oh, thats Microsofts fault), which will fly because everyone KNOWS that computers are supposed to have problems, is far superior to a "non-standard" (ie, non-Microsoft) solution where they'll be responsible if it breaks.

      It's all about accountability, having someone to blame. Some people confuse this with having someone to actually fix problems, that is not a priority. Having someone besides you being responsible for the problem is the priority, a solution for the problem is way down on the list.

  8. Anything thats not ActiveX.... by mboverload · · Score: 3, Funny

    ...is better than ActiveX

  9. Konqueror? by bogaboga · · Score: 4, Interesting

    Where is Konqueror in this project? Will it (Konqueror) simply follow the "leaders" as it has somewhat been in other instances? How can they get involved?

  10. Replace activeX? by N5 · · Score: 2, Insightful

    I use mozilla so websites DON'T HAVE activeX capabilities.

    Why would you wana replace an excellent thing like activeX anyway? *sarcasm*

    --
    John 3:16 - The easiest way to a BETTER YOU.
  11. Press releases by scottme · · Score: 4, Insightful

    Why is it that in every damn press release I see online, not one of the URLs is ever a live, clickable link? Is there some press office union rule that insists only people with the skill and knowledge to use copy-and-paste should ever get to look into the background of one of these blurbs?

    Sheesh.

  12. Finally! by Mia'cova · · Score: 5, Insightful

    When IE development stopped it really hampered new development. It's now clear that longhorn will be introducing a whole pile of new proprietary offerings with its new browser to facilitate the much needed improvement in web apps. But with details locked up, presumably until release, I'm very glad that other browsers are now looking ahead in their own direction. With any luck Microsoft will be pressured into supporting XForms. Heck, I'd settle for a 3rd party plugin. But anything to give developers a solid full-featured cross-platform solution. We can't let ourselves continue to be locked into microsoft products. It's unhealthy :)

    Phew.. I was starting to get really scared that the web would be developing at the speed of Macromedia and Sun for the next while. This really is something big and new we can look forward to as well.

    I wonder what kind of working timeline they have. With those big corporate spenders helping out, I'd like to think they are really pushing forward at a good pace.

  13. Does is support combo-boxes? by rseuhs · · Score: 3, Interesting
    The biggest shortcoming in the usual HTML-form tags are the lack of combo-boxes (which are a combination of a text-input field and a select drop down list - The "location" widget in most browsers is a typical example of a combobox, you can drop down and choose a URL from a list, or you can type in your own), does XForms support it?

    BTW, if anybody knows Javascript workarounds for Combobox functionality, I'd be very happy if you could post them.

    1. Re:Does is support combo-boxes? by Anonymous Coward · · Score: 4, Informative

      Annoying as hell one:
      Have a text field and a hidden drop down. On text.focus() display the drop down.

      Search the dropdown as you type (substring on select.option.text and so on).

      If the text fully matches or the user just presses enter (or uses the drop down), select the drop down value, hide it and set the text to that of the selected option.

      If the text doesn't match anything on the select, then mark as new (hidden field).

      As I said, a PAIN IN THE ASS, but I had to do it for a client that was completely used to comboboxes.

    2. Re:Does is support combo-boxes? by jgalun · · Score: 4, Informative

      BTW, if anybody knows Javascript workarounds for Combobox functionality, I'd be very happy if you could post them.

      I know there's others out there, but I don't have the time to track them down right now. But...

      Combo box

      Combo Box

  14. [XForms] XForms is not only useful in browsers by superskippy · · Score: 5, Interesting

    Like SVG for graphics, I think XForms is not only a useful concept if the browser supports it. I like the idea that I can currently create SVG on the server, render it on the server and send it to the browser as a PNG. I believe that there are currently products and projects available that if you have a set of XForms, allow you to turn them into a standard CGI-like application- all of the work of transforming into HTML etc. is done on the server.

    I hope (cross-fingers) that in the future that I can send the original SVG/XForms/whatever to browsers that support it, and render on the server for everything else.

    It's also good writing things using standards compliant products. I've currently just moved a website that relied on XSLT a lot from one software toolkit to another. This wouldn't be possible if I'd used a non-standard technology (in the sense that it worked with one toolkit only).

  15. Not a magic bullet. by Photo_Nut · · Score: 2, Interesting

    Parent poster wrote:
    "I'm sure visitors would just LOVE to see a site error message "I'm sorry, you must download Mozilla 8.0 to view this website"

    Just like I'm sure that web authors would love for 98% of their market go to their competitors who work around IE by using scripting and ActiveX (I take it that your use of the word LOVE was sarcastic). Let's face it, just because there is a standard out there doesn't mean that everyone else implements it and Microsoft loses.

    In order for XForms to be a big deal, you need to have good clients and good servers, and especially good authoring. XForms isn't a magic bullet, it is a protocol, and these component software pieces don't just write themselves.

    I saw a demo from some Microsoft guys recently of some forms using ASP.NET, and I must say that I was impressed by what they were doing. Their tools are really maturing.

  16. from w3.org site: by lkcl · · Score: 5, Informative

    18 Nov 2003: A preview release of Oracle's XForms processor PlugIn for Internet Explorer is now available. The XForms Processor is a plug to Internet Explorer 6 on Win2000/WinXP. A User's Guide, Datasheet and several samples are provided with the preview release install.

  17. List please by kahei · · Score: 4, Insightful
    Is there a short persuasive list of reasons why we should pay attention to yet another W3C recommendation?

    A recommendation which no doubt will shortly split into 'mobile' 'standard' and 'full', each available at 'level 1' or 'level 2', each in three simultaneously maintained versions called 'Original W3C recommendation', '1.0', and '1.1b'?

    I'm not actively going out of my way to be mean here, and I do love SVG despite the issue mentioned above, but the W3C sure seems to focus a lot more on creating documents to justify their staffing levels than on, say, identifying clear needs.

    I wasn't able to turn up a simple useful 'what are the benefits of XForms' document anywhere, but looking at the other docs (http://www.w3.org/MarkUp/Forms/2003/xforms-for-ht ml-authors.html) I was left a bit confused...
    The button element

    <input type="button" value="Show" onclick="show()">

    can be written

    <trigger><label>Show</label>
    <h:script ev:event="DOMActivate" type="text/javascript">show()</h:script>
    </trigge r>
    I have to admit that looks awfully W3C-ish to me. The use of xmlns="" to prove that a tag 'belongs' with an XForm looks even more so.

    PS I realize all this stuff is terribly worthy and open and all, I'm just wondering whether anyone thought of a way to use it.

    --
    Whence? Hence. Whither? Thither.
    1. Re:List please by Anonymous Coward · · Score: 2, Informative

      >>I wasn't able to turn up a simple useful 'what are the benefits of XForms' document anywhere

      Errm... did you look at the FAQ?

      http://www.w3.org/MarkUp/Forms/2003/xforms-faq.h tm l

    2. Re:List please by Apathetic1 · · Score: 2, Interesting

      I was reading up on XForms a bit when the story about XHTML2 was posted to /.. There were a few things of which I took note in the XForms spec:

      • A form's action is now separate from its layout on the page. I've occasionally found myself wishing I could have a button inside a form submit to a different action URI from its parent. XForms allows this.
      • Client-side error checking and requirements enforcement. If the standards are implemented correctly it means most of the work I do on the server side to handle forms (validation, etc.) can be handled by the client and I no longer have to worry as much about logistics. This depends on clients not being stupid, however.
      • Accessibility - most of the changes will be better for accessibility. Image buttons are just a different type of label element and label elements can contain several alternate forms of the label, e.g. image, text, audio.
      • <select1> and <select> work essentially the same, whereas radio and checkbox use somewhat different syntax.

      It's nothing huge but it will make my life easier as a developer.

      --

      My username does not make me Apathetic. It's irony, get it?

    3. Re:List please by tesmako · · Score: 2, Interesting
      I very much agree.

      What really scares me about all this is the worry about adoption rate of the standards that I see everywhere. Web standards has to be the only standardisation field where people start worrying when no standard has been released for a few years. I really cannot see the point of having standards at all if they are changed quicker than they can be sanely implemented (not to mention being used). Look at successful standards efforts, the C language had its last major standard in 1999, it is far from adopted, many compilers still only offer the older 1989 standard and most projects still stick to that one as well. It is however important to note that it took the better part of the nineties to get most code over to the -89 standard and no one particularly worried. Another example is postscript, first standard (level 1) 1984, second 1991, third 1998. These are not even a standards organisations work but in-house at Adobe, and you know what? Many applications still don't support all the features of level 2, 13 years after its release.

      Overall a standards effort should in no way be ongoing like the W3C, one needs to get one more or less complete (a bit flawed is OK, a few inconsistencies are easier to handle than having tons of standards to support) and then leave it be for a decade or so while working on the next iteration. Only then will anyone be able to base a sane software project on the foundation provided.

      As I said, I know of no standards in history (at least no successful ones) that have been as floating and ever-changing as the web standards. It is no wonder that web-browsers are the huge monoliths of software they are. Web publication is not an intrinsically hard problem, it is just a badly handled problem.

  18. ActiveX replacement??? by lphagetti · · Score: 3, Interesting

    I am not sure how X-Forms would replace ActiveX since I don't think ActiveX has anything to do with how IE displays an html form tag???

  19. -5 Silly by anti-NAT · · Score: 3, Insightful

    The standard also includes a label for every form element, which currently does not exist. This is very useful for disabled people - e.g. blind people, their screen-readers can figure out which text belongs to which form element. This is currently impossible.

    You also no longer define the type of formelement (radiobutton, selectboxes,...) the browsing tool chooses the most apropriate system. For graphical browsers radiobuttons may be cool, but for screen readers it may read the form like "choose one of the following", and for small display devices a dropdown-menu maybe better as 2 radio buttons plus their label takes up too much screen space.

    Wow these are great features, it seems you like them, and see benefit in them for a number of people, including the disabled.

    To me it makes sense, but I know that I wont use XForms anytime soon. Because there's still companies that have MSIE 5 as the only allowed browser in their IT-policy... Creating a web- application for them still includes crazy html and javascript hacks

    Yes, let's all give up, MSIE is the best browser in the world, we shouldn't try to show how standards can make things better.

    Thankfully there are enough people in the world who won't just accept the status quo such that improvements keep coming. Sadly, you don't seem to be one of them.

    --
    The Internet's nature is peer to peer - 20050301_cs_profs.pdf
    1. Re:-5 Silly by Stuart+Gibson · · Score: 4, Insightful

      Yes,and if you're rolling out a £10000 web application for a company that is one of those, then you should just tell them they have to upgrade all their boxes in defiance of corporate policy?

      On a non-critical site I'm all for using standards and techniques that, in theory, make for a better experience for the user, but there are times that it just isn't practical.

      Stuart

      --
      It's all fun and games until a 200' robot dinosaur shows up and trashes Neo-Tokyo... Again
    2. Re:-5 Silly by anti-NAT · · Score: 4, Insightful

      Yes,and if you're rolling out a £10000 web application for a company that is one of those, then you should just tell them they have to upgrade all their boxes in defiance of corporate policy?

      They'd have to be used to constant (weekly) security upgrades if they are using MSIE, and the associated MS OSes. I'd also bet those applications stop working every now and again, as the upgrade changes (breaks) the way something works.

      On a non-critical site I'm all for using standards and techniques that, in theory, make for a better experience for the user, but there are times that it just isn't practical.

      I don't know whether to laugh or cry. I can't understand who would use MSIE for a critical site these days, with all the associated security problems. Even the Department of Homeland security recommends against using it (not that that means a lot, although it is unusual for a government department to come out against any particular software product).

      I'm quite aware people can't just drop one software product for another. However, regarding MSIE, people should be starting their migration plans away from it now.

      It makes financial sense to move to standards based web applications. For a start, a larger (larger being >1) variety of web browsers are available. If you have trouble with one browser, you aren't locked into it. Nor are you locked into the OS it sits on.

      --
      The Internet's nature is peer to peer - 20050301_cs_profs.pdf
    3. Re:-5 Silly by MvD_Moscow · · Score: 2, Informative

      I don't know about your setup (on what OS are you?), but for me the updagrades were 100% painless, once I set up 0.9, with every update I had no rpoblems at all. That includes extensions, themes, custom profels and plug-ins. And the update problem (that you have download a the whole installer over again) is solved (as per bugzilla).

    4. Re:-5 Silly by Anonymous Coward · · Score: 3, Insightful
      IE also has latent flaws that, once exploited, lead to hastily-deployed patches.
      I don't know what dream world you're living in, but IE has had a number of security holes that MS considered to be "low-priority" and left unpatched for months It wasn't until Liu Die Yu and others figured out how to chain these holes together for one big spyware vector that MS started taking them seriously. I will agree that using an unpopular browser does not increase your security, because Opera hasn't had the greatest track record lately. But the Mozilla project has had a consistently better record.

      I'm not excusing the Mozilla team for leaving a couple vulnerabilities open for way too long, but they aren't nearly as numerous nor dangerous as some of the long-living (and gaping!) holes in IE. Saying "firefox is no better" is wrong, wrong, fucking wrong.

  20. Mozilla working XForms isn't that big a deal... by fm6 · · Score: 5, Interesting

    How many little things like this has various Mozilla people working on it? I'd say "ho hum", except that this project has the backing of two leading Open Source citizens, IBM and Novell. I surely hope this means increased recognition of the importance of web standards. There are too many specs that sound exciting, but never go anywhere, except to be described in some hard-to-read document on w3.org.

  21. XFORM renderer in Flash by tajan · · Score: 5, Informative

    From the DENG web site :
    "DENG is an open source Modular XML Browser, capable of rendering subsets of XForms, SVG, XHTML, XFrames, arbitrary XML(...) Currently, the footprint of the DENG Modular XML Browser is 76 KByte, allowing zero-install deployment of these W3C standards to the vast majority of today's web browsers that have the Macromedia Flash Player 6 installed."

    http://claus.packts.net/
    http://sourceforge.net/projects/dengmx

    This is a really cute application and for those of you who'd like to see Xforms in action, there's a few working examples on their demo page : http://claus.packts.net/deng/examples

    Of course, it's open source (GPL).

    1. Re:XFORM renderer in Flash by jrumney · · Score: 4, Informative
      vast majority of today's web browsers that have the Macromedia Flash Player 6 installed.

      The problem with Macromedia's claims about how widely deployed Flash is, is that the vast majority don't have Flash 6 deployed. The vast majority have Flash 5. And when users with Flash 5 go to a site that requires 6 or 7, do they get prompted to download a newer version? No, they just see a partially working Flash animation, or a blank screen.

  22. They dont ALL use ActiveX by Anonymous Coward · · Score: 2, Informative

    I work for a large software company that makes CRM (et al) solutions for business that are delivered via web, and use only HTML and Javascript.

    From a web site, users do ALL management tasks.

  23. Mixing technologies using XML namespaces by Nagus · · Score: 5, Interesting

    For those who didn't know this: one of the great things about XML is that it allows for the mixing of namespaces in a single document.

    This means that different XML technologies (like XHTML, SVG, MathML, and yes, XForms) can be used in a single file.

    Now if the display device (ie. browser) has support for all the used technologies, some funky things become possible.

    For example, a web page could use XHTML for structuring a document, SVG for graphics, MathML for formula display and XForms for data input.

    Throw in some scripting, and you could for example do a function plotter as a web application, in a single document.

    At this point it's not just about structured data anymore, but also about mixing-and-matching technologies to create applications. And XForms is one of the building blocks that will hopefully make this possible.

    --
    Wenn ist das Nunstruck git und Slotermeyer? Ja!... Beiherhund das Oder die Flipperwaldt gersput!
  24. Re:Combo-boxes are anathema to good UI design by rseuhs · · Score: 2, Insightful
    So all browsers (at least all browsers that I know about: Mozilla, Konqueror, IE, Opera) have "broken" user interfaces?

  25. same question aros with XSL by Numen · · Score: 4, Insightful

    Same question arose with XSL... some of the most notable objectors btw to XSLT were the chaps developing Opera who advocated JavaScript+DOM as opposed to XSLT.

    A little JavaScript and a little DOM isn't a standard approach.... You're using a little JavaScript+DOM, I'm using a little Python+DOM and he's using a little Perl+DOM

    Now choice is great, but not for documents that you're publishing to a worlwide audience and which aspire to be unerversally readable.

    As an aside you mean ECMAScript+DOM... the standard isn't JavaScript, it's ECMAScript.

    Assuming we overcame diversity of language choice and madated ECMAScript+DOM the diversity of implimentation of any given task is FAR FAR broader in ECMAScript than it is in a declarative standard, say like XSLT.

    Lastly, because XFORMS like XSLT *is* XML it benefits from application of schema, intigration with existing XML tools, mechisms for transport... and generally can be worked with like a regular XML document for instance one might generate your XFORMS via XSLT from existing XML manifests. While this can be done with ECMAScript+DOM, the task is more complicated, is open to diversity of implimentation, is less usable by other parties... and overall is less standard.

  26. Re:Combo-boxes are anathema to good UI design by Jugalator · · Score: 2, Interesting

    I find combo boxes good since they greatly reduce UI complexity. Just imagine a form where you're supposed to pick a country. That implies a ton of choices, so you'd probably go for a text box where a user can just type in the country name. But then you risk having users mistyping the country name, and if these form results are to be analyzed for statistics, a computer will have no idea what "Swtzerland" is. So to be sure to get better data, you need a list box with hundreds of items?

    And now imagine that times 5, if you have a couple of more large selections like that.

    The user would be overwhelmed...

    --
    Beware: In C++, your friends can see your privates!
  27. Corporate World Dependence by kiwicmc · · Score: 3, Insightful

    I'm not so sure of your glib statement of corporate dependence on ActiveX. I've worked for a large US corporation (top 20? top 10?) and I know the security boys would smack you upside the head if you even thought of emebedding an Active X control in their intranet infrastructure.

  28. It'd be nice if regular HTML forms were also fixed by jesterzog · · Score: 3, Insightful

    A recommendation which no doubt will shortly split into 'mobile' 'standard' and 'full', each available at 'level 1' or 'level 2', each in three simultaneously maintained versions called 'Original W3C recommendation', '1.0', and '1.1b'?

    I think it's great that Mozilla's looking to finally implement this. I've been watching the bug (97806) for about six months, and it's been very contriversial, at least partly for the reasons you mention.

    Having said that, XForms do seem like absolute overkill for a lot of tasks, and it'd be a shame to see them deprecate and presumably replace the limited (but simple) forms that HTML has at the moment.

    My own gripe is that in my own experience, existing forms could be so much more convenient to use if only there was an accepted standard for a couple of extra data types.

    Specifically, I'd very much have liked to see <input type="date" />. and <input type="time">. (Browser pops up a relevant calendar selection dialogue as appropriate.)

    Those two inputs alone, if designed with appropriate properties for things like time zones and granularity, could prevent a huge number of headaches in web programming. Offering some very simple client end type checks for other types of inputs could prevent even more headaches.

    XForms is just overkill for a lot of this, but javascript is a very yucky and unreliable alternative. Oh well.

  29. XUL? by Trinition · · Score: 3, Interesting

    What about XUL? Throw away the need to be contained in HTML and make a real thin-client markup language. Then, if you need to display HTML (you know, hyper-text-markup-language, not web applications), you do it using the XUL tag for an HTML widget. XUL tags are course enough that it could be used on multiple platforms, rendered specially for the handicapped, etc.

    If we're truly talking "next generation" here, do somethign revolutionary enough to truly be advantageous, not something pitifully incremental.

  30. Tab Indexing by Proc6 · · Score: 3, Insightful

    I hope the spec includes tab indexes. One of the downsides to the ASP.NET framework is if you have multiple "forms" on the page (which are all within 1 form tagset), controlling which element gets focus on a tap of the tab key is a nightmare. Usually it "doesnt" go where you want it, and worse yet, most the time hitting the ENTER key presses the wrong buttons. Bottom line is, IMHO, the browser shouldn't be guessing what comes next in a tab or enter keypress (unless its unspecified), the developers should decide.

    --

    I'm Rick James with mod points biatch!

  31. It's a step forward by Bozovision · · Score: 5, Informative

    There are two classes of application that web browsers are very bad at: rich UI interaction - for example graphics editing - and interactive data apps.

    There are workarounds and bodges that can help, but they depend on Javascript and you can't be sure that everyone will be running Javascript, let alone that there is consistency at the DOM level.

    There are two things that web applications are very good at: rollout and global availablity. Wouldn't it be great if we could have it all. XForms is a step towards that, targeted at data manipulation applications.

    For this sort of application, you very often need to update the information presented, at a field level. So for instance, on a desktop application, you might have a field where you can enter a name, and as you type, another control presents a list of possibilities which dynamically changes. Typing 'S' would show you 'Smith' and 'South' and 'Smart'. Adding 'm' would reduce the list to 'Smith' and 'Smart'. And so on.

    To do this properly, you need to be able to have sub-page queries of the web server/web service/database/whatever, or you need to download the whole index and filter at the client (yech). And you don't want the whole page to refresh. So it's not something that HTML as it stands can do, without workarounds.

    From the XForms FAQ, here's a list of some of the things that can be done with XForms that aren't possible in HTML:
    * Check data values while the user is typing them in.
    * Indicate that certain fields are required, and that the form cannot be submitted without them.
    * Submit forms data as XML.
    * Integrate with Web services, for instance by using SOAP and XML RPC.
    * Submit the same form to different servers (for instance a search string to different search engines).
    * Save and restore values to and from a file.
    * Use the result of a submit as input to a further form.
    * Get the initial data for a form from an external document.
    * Calculate submitted values from other values.
    * Constrain values in certain ways, such as requiring them to be in a certain range.
    * Build 'shopping basket' and 'wizard' style forms without needing to resort to scripting.

    If you are interested in XForms, it's also worth knowing about Web Hypertext Application Technology Working Group (WhatWG) - http://www.whatwg.org/ who are working on specifying an extensions to HTML to allow richer applications. One of the projects is Web Forms 2.0 which aims to specify form extensions for HTML and XHTML.

    Both of these are excellent initiatives which could make the life of web app developers Better.

    Mozilla starting work on XForms is terrific. The competition may spur Microsoft on... MS are not very keen on anything that reduces the dependence of users on desktop apps. For them, this is a very sensible strategic position because their income stream depends on continued need for their OS, and that in turn is because applications are bound to their platform. Consequently they haven't been especially fast to embrace (or extend) standards which would make it easier to deliver rich web applications.

    Don't bother to weigh in with MS-bashing. You are wasting your time and this is not what the para above is about.

    Jeff Veit

    1. Re:It's a step forward by lphagetti · · Score: 2, Interesting

      On the one hand I think that you are absolutely right and X-Forms will provide a simple way to help developers have their required field checking and all those dreadfully tedious things done for them. However, I am not yet convinced that it will pave the way for truly "rich" client applications.

      To date, you can find rich client applications such as Oddpost http://www.oddpost.com/ that use Javascript and other IE *features* (sorry but I'm not sure if Mozilla has this) such as XML HTTP Posting to create a desktop like environment on the web with server calls behind the scenes to collect/store data. It is really a beautiful thing. There are also vendors who develop usable Javascript based components http://www.google.com/search?hl=en&ie=UTF-8&q=java script+grid+control such as a grid controls, comboboxes (which someone was asking about before) and tree controls. All of which can generally be plugged into your database through the language/platform of choice.

      I am not yet convinced that the presence of X-Forms or any other lets-use-XML-for-the-sake-of-XML type technology for web interfaces will make creating usable web applications easier any time soon.

  32. What's really new in XForms? by oliverthered · · Score: 2, Informative

    Data validation is really that great, you can do it now if you want.

    What is good is unwrapping the form from the UI, this should make it easier for small (or large) screens to display the form, and allow blind or handicaped people to navigate the information easier. sections are clear, labels and inputs are tightly bound etc....

    --
    thank God the internet isn't a human right.
  33. Vs. Active X by porkface · · Score: 2, Insightful

    The reason ActiveX sucks is not the implementation. It works fine, but is OS dependant.

    The main reason I hate ActiveX is that it introduces so many non-standard paradigms to something that is wonderfully simple and powerful. The web, HTML (web pages), and HTTP/HTTPS, are all very useful when you don't start doing stupid shit. Why create a standard to support "stupid shit" that then creates lots of proprietary systems with steep learning curves for new developers/team members?

    I have yet to run into a Marketing Requirement that required the use of ActiveX unless some Marketing retard specifically put the term ActiveX in their request without consulting developers.

  34. Doesn't HAVE to matter by SmallFurryCreature · · Score: 2, Interesting
    Why? There are plenty of web applications where it can be enforced wich browser you use. Namely business. If I develop an app using x-forms in the future for a company that company can simply require their employees to use mozilla to access it. Nothing special about that. There are plenty of places were word-perfect is enforced. Or lotus-notes for email.

    Secondly is that MS controls the desktop but it does not control mobile devices. Worse its own browser on mobiles devices is even worse then desktop IE. It may have changed recently but I doubt it.

    So if the big boys really are going to push this I fear MS might just have to follow, just as MS recently realised it could not keep stringing IE6 along forever.

    As for regular home users. Try this. Give my new web app customer a cd with a branded mozilla or have them use IE and handle all the security problems. Slowly people are starting to get a clue. Now it depends on the non-MS companies to exploit that.

    --

    MMO Quests are like orgasms:

    You may solo them, I prefer them in a group.

  35. Hmmm by Baki · · Score: 4, Insightful

    So now with xforms we get a 3rd way to do some things that today can be done either through javascript or server side.

    The server side way gives you full flexibility, you can use any language/technology to validate, structure your parameters, regenerate the page. The cost is some efficiency (round trips, having to regenerate full pages except if you use lots if (i)frames which can be very hard to handle).

    Now what exactly is the place of this 3rd posibility? Could it really replace javascript? It may eliminiate the need of 60% of todays javascript, but I don't think it can handle all cases.

    So the result is, developers need to learn and stay current still with javascript and their server technology of choice (e.g. asp, jsp) and additianlly need to learn xforms and related technologies (xml, xpath).

    While submitting structured parameters is nice, what exactly is the point? While validating input values for ranges or types is nice, you still have to repeat the validation on the server side (you never know what manipulated or buggy client comes at you). The server side still has to convert all those text parameters into really structured types/classes.

    So I see little benefit but great cost. One or two tricks would be really useful as an addition to current HTML standards (e.g. the partial replacement of pages which can help on large/complex pages without having to resort to frames).

    I think this is a typical result of strandards groups that have grown too large and now don't know how to stop and limit themselves. To justify their existance, they keep putting out an ever growing stream of "useful" standards and loose touch with their "customers".

    1. Re:Hmmm by Azghoul · · Score: 2, Insightful

      I was skeptical as well, but then I followed a link or two and found a page they've put together for HTML authors. It's actually very easy to implement and you can do some pretty interesting things with it.

      XForms can essentially replace javascript as a validation tool. It can also load initial values from another document, something I find pretty interesting (because you let the client side do it, not your poor over-burdened server).

      It's just options. You're certainly never going to be forced to use it.

      By the way, how many developers really know asp/jsp/php/perl but don't know xml yet? :)

    2. Re:Hmmm by Baki · · Score: 2, Insightful

      Yes, I've read the same page before I posted my comment. That is why I say it may replace maybe 50% of javascript use, but not more.

      I'd rather stick with a single mechanism (i.e. javascript, even when it may be improved especially the compatability between browsers) instead of introducing yet another way. Except if xforms could replace 99% of javascript use (i.e. most could just switch completely) it does not make much sense.

      For that, the declarative approach is unsuitable IMHO. Even in the doc for authors you still find references to script elements.

  36. Re:This is the end for me! by Yaa+101 · · Score: 2, Funny

    specialist always die out in nature...

  37. Sounds good to me by The+Kenman · · Score: 4, Funny

    I support xforms.

    As a gen-x'r, I prefer to refer to everything as xanything. It really makes my life easier too, as a slacker (I slack therefore I am) you know that I need this. Instead of doing it the old way and calling it FancyNameForSomethingSimple, we just use xsfw. "Honey, where's the xbox?" "I dunno, I think it's in the xcarton in the xcar."

    The current forms implementation just sucks.....I'll take xanything new they're willing to try out. Nothing's ever going to replace [java/ecma]script, but if xfroms can cut down on the routine scripting like validation, or maybe just offer some fancy new features (the 'submit as XML' sounds pretty cool!), I'm still xdown.

    --
    ASCII silly question, get a silly ANSI.
  38. Embedded ActiveX with IE... by Cpt_Corelli · · Score: 3, Interesting

    The problem is that a lot of web based applications depend on the Rich Text Editor control included with MSIE. If you look at professional CMS-applications many of them use this editor field to format content areas and this makes life a lot easier for content producers.

    If Mozilla had a similar editor field that could be embedded I believe that a lot of CMS manufacturers could make cross-browser CMS-software. This could eventually lead to an easier corporate switch from IE to Mozilla.

  39. Re: by AliasTheRoot · · Score: 2, Insightful

    "rich, portable web-based applications desired by corporate IT"

    the author is full of shit, corporate IT doesn't want rich portable web-based applications, those things may satisfy a corporate IT departments needs in certain cases.

    If I was a corporate IT director, i'd throw out the technology buzzwords with the bathwater and look for a solution that helps me integrate and solidify all my existing and future application needs.

    I dont think this attitude of rewrite everything as web is helpful, most data entry clerks / cashiers think its just as crap as vt100 terminals.

    The goal for me at least is finding some way to provide a unified interface to all these different legacy applications in a way that it is consistant and that you dont need to hire a consulting company to refactor every damn screen on your app.

  40. Not only ActiveX by dustrider · · Score: 3, Insightful

    ActiveX is being dropped by MS anyway. as even they realise it's insecure. Xforms is really going to come up against Infopath and Avalon which are both new tech's Ms is rolling out. And if mozilla does not provide an alternative it will be left behind again as netscape was in the browser wars. So all in all this is a good thing, perhaps it would be even better through web forms but as per a prior poster the foundations is working on them already. If anything the foundation needs more coders to help roll it out quickly. The web is a fickle place and whoever builds new tech first gets the jump on the market, and as such gets to keep that market.

  41. Officework by lysium · · Score: 2, Insightful
    Many companies, but especially media companies, and especially in summertime, pass any and all work off to interns, temps, or clueless college grads. All the smart employees stop working, while all the rich employees are on vacation.

    That about explains it, yes?

    --
    Together, we will drive the rats from the tundra.
  42. why XForms matters by ragnar · · Score: 5, Informative

    There is a lot of negative talk about XForms, and plenty of people asking what it is good for. I've been following the spec and would like to share why it is useful.

    If you have a web application that presents a form, but the server side needs to represent the data in XML, problems abound. Throw in the potential for repeatable elements and a few conditionals in the XML Schema and your simple little form becomes a major pain to develop. I personally wrote a web front end for authoring MODS records and had to do serious JavaScript/DOM acrobatics. The result was good, but compromises were made along the way.

    XForms changes this because the form constrains to an XML Schema and sends a populated XML document to the server. This simplifies matters tremendously. It doesn't obviate the need for some serious work to setup XForms, but given my initial experience testing the spec, it is a great step forward.

    It is overkill for a basic form, so I hope there are some provisions in XHTML for backward support.

    --
    -- Solaris Central - http://w
  43. What about XUL? by Anonymous Coward · · Score: 4, Interesting

    Mozilla already has XUL (pronounced "zool" as in cool). It provides rich application ability to be served via the web. (In other words, equivalent to upcoming MS Avalon except XUL has years of use and stability.) XUL works on any computer/OS that has Mozilla or Firefox running so it is cross-platform compatible.

    Website for XUL:
    http://www.mozilla.org/projects/xul/

    Nice example application developed in XUL.
    Click on "Try MAB 1.2" to run the application.
    http://mab.mozdev.org/

  44. Great, a new source of exploits by A+nonymous+Coward · · Score: 4, Insightful

    Great that the client can verify data, but too many shoddy web programmers will use that as an excuse to not verify data on the web server too, as if only valid data can escape the client browser.

    1. Re:Great, a new source of exploits by AnyoneEB · · Score: 2, Insightful

      This is as a cleaner way than JavaScript to enforce data verification client side, so it doesn't have to touch the server. With HTML forms and JavaScipt, you can simply disable JavaScript to get rid of the data validation. A programmer that wasn't already checking the data server-side has written bad code either way. XForms just makes the client-side interface easier to create.

      --
      Centralization breaks the internet.
    2. Re:Great, a new source of exploits by jeremy_a · · Score: 2, Insightful

      Disclaimer: I haven't actually used XForms, although I have done some reading on it.

      It seems to me that this is actually one of the advantages of XForms. With XForms you specify the validation rules along with your form. Now a smart client can use these rules to validate the form before bothering to send it to the server.

      But the server can use those SAME rules to validate the data on the server as well. This is necessary both for working with clients that might not support all of the validation functionality, as well as to prevent people from trying to intentionally bypass validation.

      This probably requires a bit of extra work from the "shoddy web programmer", but it should certainly be simpler than implementing all of the validation rules twice (once for the client and once for the server), and especially keeping those rules in sync.

    3. Re:Great, a new source of exploits by prockcore · · Score: 2, Insightful

      Great that the client can verify data, but too many shoddy web programmers will use that as an excuse to not verify data on the web server too, as if only valid data can escape the client browser.

      As opposed to too many shoddy web programmers who don't bother to verify data at all?

      I can tell you that people accidentally hitting enter and submitting half a form happens way more often than someone trying to pass bad data purposefully. If I could prevent that from happening without having to code the damn form twice (once to ask for the data, the second time to present the user with the data they entered and highlight what went wrong) I'd be happy.

  45. XForms tutorial online by mdubinko · · Score: 3, Informative

    If you want to see XForms in action, point your browser to XForms Institute

    This uses the Flash-based DENG engine, so it should work on any Flash-enabled browser.

    The site includes an interactive tutorial, a validator, and the full text of O'Reillly's _XForms Essentials_

    .micah

    --
    --- Learn XForms today: http://xformsinstitute.com
  46. even complicated i'll vote YES by Anonymous Coward · · Score: 2, Interesting

    I would love to have XForms included..i read some of the comments that mention they are usless...
    U haven't coded js checking code so u dont know how ugly and bad this approach is... or u didnt try to think of a numerous ways how to present db data ..
    XForms at start may be a little complicated, but after they arrive they will be accumulated into the Frameworks..

    XForm or if some similar approach is choosen will give the ability to programmers to separate the logic from the presentation..

    Many web developers currently use MVC tools (model-view-controler) to separate DB,HTML output and the buisness logic.

    The most important thing is Logical separation, especialy when many ppl programmers and non-programmers work on a project.

    Opposite approach of MVC is the way ASP&PHP pages are done (i dont follow them anymore, they have to have now also some MVC frameworks), where html&js&server-side code are munged like spagetty nightmare.
    This style dosent work for big projects.

    I dont care if they are not implemented in IE (even if it has 101% of the market), i need them for in-house apps.
    If u want to sell app then give your users a Knoppix-CD and u are OK.

    flame bait now commencing :") ....
    In fact I'm tired of this web dominance and desktop dominance, X% share articles.. when linux will take the desktop..!? and so on..
    Who cares I'm using it now and it work for me.

    WHEN U WILL UNDERSTAND most of the hard-time lunux users dont want to conquer the world. They want things to work their way. end of story.. if u dont like it that way then we are OK, use whatever suits your needs dont complain.
    If u want something to be easier to U pay someone, do it yourself, or help someone to make it happen.

    Companies want to take the world, so they have money and they are doing things their way... so we will cooperate on the ways that are common to us and will divide on things we are different.
    end of the flame ..sorry..

  47. An Open Letter to Law Enforcement Everywhere by mrchaotica · · Score: 2, Insightful

    Could we have open season on "designers" who don't understand usability? Please?

    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz