Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
The Internet Programming IT Technology

XForms Becomes Proposed Recommendation 247

leighklotz writes "The W3C has announced that XForms is now a Proposed Recommendation, after certification of one full implementation (open source Java XSmiles from Finland) and two more implementations of each feature (the Internet Explorer plug-in FormsPlayer and the Java standalone Novell xPlorer). XForms is the next generation of forms for the Web, and uses an XML-based three-layer model: data model, data, and user interface. XForms uses CSS for device independencence and is designed for integration into XHTML 2, SVG, and other XML-based markup languages. A host of other implementations are available or in progress, but my pick for most interesting is DENG, which is an XForms to Flash compiler written in Flash. DENG supports XForms, SVG, RSS, XHTML, and CSS. XForms is in consideration for other standards as diverse as Universal Remote Controls and the UK Government Interoperability Framework, and was developed with the participation of IBM, Oracle, Xerox, Adobe, Novell, SAP, Cardiff, PureEdge, and a host of other companies, universities, and invididuals."
This discussion has been archived. No new comments can be posted.

XForms Becomes Proposed Recommendation

Comments Filter:
  • Thank god. (Score:4, Interesting)

    by Duncan3 ( 10537 ) on Friday August 01, 2003 @06:46PM (#6592519) Homepage
    I was having a ton of trouble teaching people how to use <form> and <input>. It's good to see that they went and solved the complexity problem.

    Maybe they think if they make forms complex enough, and break enough browsers, the cheap labor in India won't take their jobs?
  • by Erwos ( 553607 ) on Friday August 01, 2003 @06:51PM (#6592543)
    I'm interested in how this will change the way things work now. Anybody want to explain?

    -Erwos
  • Browsers..? (Score:1, Interesting)

    by Anonymous Coward on Friday August 01, 2003 @06:55PM (#6592571)
    Most important question: what browsers will allow me to use XForms? Anyone got an answer?
  • Re:Browsers..? (Score:3, Interesting)

    by jnana ( 519059 ) on Friday August 01, 2003 @07:05PM (#6592637) Journal
    See the following bugzilla item for XForms support in Mozilla: http://bugzilla.mozilla.org/show_bug.cgi?id=97806 [mozilla.org]. There are also plugins available for some present browsers. See the implementations section [w3.org] of http://www.w3.org/MarkUp/Forms/ for more info.
  • by irritating environme ( 529534 ) on Friday August 01, 2003 @07:17PM (#6592704)
    Dude, you forgot the five layers of abstraction on the back-end:

    XML-based Web services, connecting to your Application Server layer, which communicates with the Enterprise Application Integration Messaging/Queuing Layers, JDBC abstraction layers, CORBA, DCOM, interpreted/JIT-compiled ByteCode, plus all the TCP/IP messaging it all runs on across the eight servers.
  • by RoLi ( 141856 ) on Friday August 01, 2003 @07:25PM (#6592745)
    Do they support combo-boxes?

    (Combo boxes are those in which you can both enter a text and choose from a list - for example the "location" bar in most browsers.)

  • by GigsVT ( 208848 ) on Friday August 01, 2003 @07:28PM (#6592760) Journal
    It's more of seperating the content from the presentation.

    The idea is you can write a document once, then you can run it through one doohicky and make a PDF that looks nice for printing, run it through another doohicky and make a website that looks nice (and isn't linear like the printed version), run it through a special doohicky and it makes a web site that works for blind people, etc...

    Basically, once you write the content, you never have to worry about formatting, that's not your concern.

    A side effect is that the semantic markup makes it really easy to do things like smart search engines, that know that "python" could either mean a snake or a programming language, and let you clearly specify which you mean.
  • Way back in 2000 I had a hard look at how you'd deliver an XForms form to a legacy device, and concluded that it was in the general case virtually impossible using standard tools. So I said so [w3.org]. As far as I know, there's still no way, and no one has produced any sensible response to this problem.
  • It Should (Score:3, Interesting)

    by The Monster ( 227884 ) on Friday August 01, 2003 @07:42PM (#6592869) Homepage
    does it run the GNU/Debian process?
    It should. Seriously....

    One of the biggest problems with running Linux for non-geeks is configuration. Every app has its own .appnamerc or appname.conf with its own peculiar syntax and options. Now that we have a standard for filling out forms, we can build the infrastructure for a single front end to them all.

    To enable Web content developers to meet these challenges XForms will be designed to cleanly distinguish between form
    instance data, form description (called the em>XForms Model), and form presentation (called the XForms User Interface).
    So, for each *rc or *conf file, we need an XForms Model that describes the form and how to validate it, and an X-forms-aware UA like Mozilla [mozilla.org] (but you can't get there from here!), or perhaps on the server side through Apache and Cocoon's XMLForm [apache.org] to handle the work of getting the input. XForms can become the glue that holds Linux together.

    When users can right-click on something, select Properties from the menu, and configure it in a consistent interface, one of the biggest impediments to Linux use by non-techies will be removed.

  • by Zaiff Urgulbunger ( 591514 ) on Friday August 01, 2003 @08:57PM (#6593262)
    Its far bigger than just being able to manage clients. Since it allows automated validation, you could in fairly simple instances do away with much of the middle tier. I'll explain but start at the top...

    Lets say I'm building a web based app. to allow users to create/update/delete records. I create a database table to store these records in. I use SQL to do this. I write documentation detailing the table layout, field types and sizes.

    I write some script on the web server to perform the SQL create/update/delete and to squirt suitable (X)HTML at the user. I also have to include data validation here, which involves knowledge of the database layout... no problem, I've got my documentation!

    Oh, and I want to include some validation at the client end so the user doesn't have to wait for the round-trip to be told that they've missed some information or something. So thats a little JavaScript, again involving knowledge of the DB layout.

    And bingo! Its done.
    But then the boss says they want to add some extra fields to the "record", so I've now got to:
    1. Modify the database schema
    2. Update my documentaiton
    3. Modify the web server script to create/update/delete the new field *AND* validate it!
    4. Modify the HTML to include the new field
    5. Modify the client JavaScript validation
    Its a lot of maintenance work, and a lot of places for things not to work right. Lots of potential for errors/SQL injection vunerabilities.

    Now just with that lot, you could use XSchema to describe the data record *once* and use that to update the database, update the documentation (okay, generate docs from the XSchema) and build server and client side form validation.

    You'd then just be left with updating the HTML to include the extra field.

    But beyond that I imagine there should be a way to submit the form directly to the database server maybe? Certainly, the amount of coding required at the web server should at least be negligable - and completely automatable.

    Which I'd guess is what MS InfoPath [microsoft.com] is all about?

    A product that allows you to describe data *once* and easily, visually, build forms would make it childs play for an unskilled, non-programmer type to create database applications.

    I do hope that Mozilla/OpenOffice/mySQL or someone does some joined up thinking with all this, because otherwise Microsoft *might* be about to roll out a complete end-to-end solution based on their own proprietary crap!

    NOTE - This is pure speculation as I don't know much about InfoPath. It *might* be fully open standards based!! However, if it isn't, then it will still be a compelling product, and more worryingly, a product that would very much tie an organisation into MS software.
  • by IGnatius T Foobar ( 4328 ) on Friday August 01, 2003 @09:39PM (#6593453) Homepage Journal
    Before you mock Xforms, keep in mind that it is at least on track to be a W3C open standard. Perhaps you've also heard of something called "WinForms" which is part of the .NET framework currently being pushed by that big evil monopoly that's trying to turn the Web into a closed system. Despite having told everyone in the previous decade what a bad idea it is to embed applets in web pages, they're now pushing exactly that idea -- but now they call it "smart clients."

    So, you decide. WinForms, on IE with .NET only? Or XForms, a W3C standard that will eventually get implemented everywhere? I know which ring I'm throwing my hat into.
  • we NEED something (Score:2, Interesting)

    by Tablizer ( 95088 ) on Friday August 01, 2003 @11:26PM (#6593827) Journal
    we currently are not searching to implement any additional layers of abstraction into our website viewing experience.

    I have to disagree. There is a serious lack of an HTTP-friendly standard for GUI business forms. The current standards are optimized for e-brochures, not business forms. While it can possibly be bent screaming and fighting into an almost-acceptable business form under certain vendor's browsers, one gets charley horses doing such. HTML+JavaScript+DOM is nasty for non-trivial forms.

    We need a standard purposely targeted for business forms. (I even proposed one of my own because I fealt something was needed. See my other reply.)

    However, this proposal does look a bit overdone.
  • by tirenours ( 583610 ) on Friday August 01, 2003 @11:41PM (#6593877)
    It is obviously an attempt to attract the younger generation. 'X' is a cool letter: just think X-Men, LXG, etc. It is a symbol that means "hi-tech", the future. Same thing for MacOS X.
  • Re:Thank god. (Score:5, Interesting)

    by whereiswaldo ( 459052 ) on Saturday August 02, 2003 @12:03AM (#6593965) Journal
    If Xforms allows the browser to verify fields, doesn't that mean we base our security on trusting the client?

    My take on this: if you can validate on the client side, it saves you from having fancy (and tedious to write) code on the server side which repopulates the HTML page and allows the user to fix the problem. You still check for invalid data on the server side, but error messages can be curt and no repopulating forms BS.

    All depends on what kind of site you're designing, of course.
  • by Tsu Dho Nimh ( 663417 ) <abacaxi.hotmail@com> on Saturday August 02, 2003 @09:23AM (#6595117)
    "All the versions of Office 2003 will have support for what we call Native XML. Native means a native file format of Office. In this case we have SpreadsheetML within Excel and a new one for Word, WordML. Both of these formats save files as XML." ... "We didn't create WordML to be an interoperable format." Microsoft Office Product Manager Simon Marks.

    XML is supposed to be interoperable

    Microsoft has taken the stance that small companies aren't likely to make use of custom-defined schemas because an IT staff skilled in XML and familiar with the XSD specification is needed to write one ... I will admit that schemas are a PITA to define and write, but there are industry-specific schemas already out there, and the tools to make writing them easier are there too. Microsoft's concern for the small business is just an excuse to sell crippleware and licence upgrades.

    http://www.smallbusinesscomputing.com/biztools/a rticle.php/2194131

  • by Anonymous Coward on Saturday August 02, 2003 @01:14PM (#6595822)
    >found it to be a tool which was intuitive, powerful, easy to use, and standards-compliant.

    Consider that InfoPath only works with IE/Outlook, and can only be served from IIS+Front Page Extensions.

    It's actually based on IE 6, plus lots of undocumented extensions. It is nearly impossible to programatically create InfoPath forms. The only way to create InfoPath documents to do drag-n-drop exercises.

    It's purely a client-side solution, so unless you trust that 12-year-old script kiddies aren't telnetting into your server, you'll need to re-write all of the validations for the server.

    All InfoPath layout is table based--the kind of thing that accessibility guides consider the cardinal sin. Non-visual users will have a terrible time navigating through InfoPath forms.

    Severe platform lock-in: InfoPath only runs where IE 6 runs. No .NET CLR, no Mac, no Linux obviously, no Win CE, not even conventional paper form compatibility.

    Finally, It only comes with the most expensive (subscription-based) version of Microsoft Office. The full product is required to either design, or fill forms. No support for ordinary browsers.

    I'd say XForms looks pretty good on multiple levels...

Two can Live as Cheaply as One for Half as Long. -- Howard Kandel

Working...