Hacker News new | ask | show | jobs
by mrtksn 4771 days ago
anything client-side is never about security or consistency since no matter what you do, anybody can always send you any data they want.

client side validity checking is about the user experience, I mean if the user is doing something wrong you can guide them to the right direction without the need of server interaction and server interaction is always slower that one line of client side code.

1 comments

Good point about user experience. Are there any tools you use specifically to test ux that isn't manual?
You can use Selenium. Second link is an example of using it within the Play Framework (scroll to the bottom of the page).

[1] http://code.google.com/p/selenium/?redir=1 [2] http://www.playframework.com/documentation/2.1.1/ScalaFuncti...

sorry, I don't know such tools.