The problem with decoupling your UI code from your Server code is that you can manage to write two different validations for data entry with two different sets of rules. This is, perhaps, not a good thing.