2 ms·
> In what way is letting the database ensure it isn't getting fed crap any different? Because one canonical validation layer is generally enough. You can see
by Dylan16807 7y ago
> In what way is letting the database ensure it isn't getting fed crap any different?
Because one canonical validation layer is generally enough. You can see how having two separate partial validation layers could cause problems, right? And you can't put all the validation in the database, for non-trivial apps.
And "clients" shouldn't be talking to the database, no matter if you have foreign keys or not. That's a totally separate issue.