Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
The Internet

WHATWG calls for 'Last' Comments on Web Forms 22

hixie writes " The W3C recently acknowledged a version of the Web Forms 2.0 draft submitted to the W3C by Mozilla and Opera. Meanwhile the WHATWG has updated the Web Forms draft and released a new call for comments. Send them in!"
This discussion has been archived. No new comments can be posted.

WHATWG calls for 'Last' Comments on Web Forms

Comments Filter:
  • by krumms ( 613921 ) on Tuesday April 19, 2005 @05:13AM (#12279565) Journal
    It's a little faster for the user (instant feedback on any mistakes), and it saves a tiny bit of server resources. And it should replace all the JavaScript hacks with one standard interface.

    What's to stop server side code from parsing the XForms (or Web Forms or whatever your choice of poison is) to extract validation information, and then do the _exact_ same checks on the server side? Why, it even makes your code more easily maintainable.

    I do something similar to this with my PHP framework using XML documents (for those wondering about the efficiency: so far it's been good enough for me, but with my framework there's nothing stopping one from cacheing the generated code as PHP, changing a line in a config file and continuing on without any interface changes), though I've not yet chosen my poison in terms of a standardized format: I'd like to just go with XForms, but who knows what bastardized format we'll be using in a few years time ...

It is easier to write an incorrect program than understand a correct one.

Working...