Thursday, April 06, 2006

The Spider of Doom

If you develop web application, how do you perform validations? Most developers I know will use client side JavaScript to do it and assume that the data will be correct when it reach the server. If you are doing that, have a look at this article from TheDailyWTF which explains the horror that happens when you take things for granted. Client side JavaScript is not reliable and will never be reliable. It only allow more conveniences to the user. However, there might still be some people who will argue and state that their application is not web application but is intranet application, so they can be assured that the users will be enabling their JavaScript. I immediately gave up debating when I hear this.