2 ms·
It's just hard to avoid the whole two pronged validation situation. You just have to accept you're going to do it on both ends. If at all possible I think of
by duxup 6y ago
It's just hard to avoid the whole two pronged validation situation. You just have to accept you're going to do it on both ends.
If at all possible I think of client side as "active" validation with lots of feedback and such built in. Back end is "passive / defensive" where validation is more 'nope just not gonna do that'.
Every time I think "let's see how much I can do this on the back end" it ends up being kinda wonky, I'm sure it is possible but just human interaction type stuff, I like it on the front. Security, detailed rules, etc, back.