The pros of checking on each field is that input is immediate. This is good for HUGE forms. But not so good for performance. Also, when u start validating on each field, javascript code could get messy and hard to maintain as well as could possibly cause "trapping" errors. That's where the poor lad cant move off the field unless he provides something valid even if he doesnt want to yet.
Design Patterns by the Gamma of 4 (Gamma, Helm, Johnson, Vlissides) is a great book. There's a new version published by SUN that is Java specific. I think it's called J2EE design patterns (duh :P) There's also a blueprints mailing list from SUN that is open discussion of design patterns/usabilities and such. It's a great one to look into if your interested in those things. -Tim -----Original Message----- From: Dror Matalon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 3:06 AM To: [EMAIL PROTECTED] Subject: Usability in Web application development Hi, This is a little off topic, but I suspect it's information that'll be useful to many. I'm developing an application that does validation both on the server and in Javascript. What are the pros and cons from a usability perspective of doing the validation on each field as the user types in the data vs validating when the user clicks on the submit button? This validation is in addition to server side validation, so even clients with javascript disabled will have their page validated. More generically. What are good resources for web usability for web applications? Looks like there plenty of resources for usability when designing web pages, but much less information about dynamic servlet driven environments. Some of the design/usability principles that applied to GUI environments apply to a web application too, but others don't. I'd be interested in hearing about books and sites that talk about these issues. Thanks, Dror -- Dror Matalon Zapatec Inc 1700 MLK Way Berkeley, CA 94709 http://www.zapatec.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
