4 ms·
The problem with fat client-side models is that allows malicious users to potentially break your code. Inject bad things. Re-assign users. Etc. We'll always ne
by MattRogish 15y ago
The problem with fat client-side models is that allows malicious users to potentially break your code. Inject bad things. Re-assign users. Etc.
We'll always need some sort of server-side last-mile, tamper-proof validation. So given that, I'm not sure the benefit of duplicating it on the client side.
- bdunn 15y agoThis. You duplicate validation logic on the client side in order to provide rapid feedback to the user. But it's a huge mistake to not let the backend have the final say.
- krsunny 15y agoAre you saying duplicating code is ok if only to make the app appear faster? I've often wondered that myself.