3 ms·
> The server should always be the source of truth. It should always enforce all the consistency rules. Database schemas can be a critical tool here as well. Am
by ageektrapped 10y ago
> The server should always be the source of truth. It should always enforce all the consistency rules. Database schemas can be a critical tool here as well.
Amen. And I'm a client developer. Clients aren't for data validation, etc. That's the server's job because the server has to store it, use it, ship it off to other things.
Clients are for displaying all that data in a way a human can understand. It has people skills, damn it!
- taneq 10y agoThe server is the model and the controller. The client is the view, and marshals input to the controller. Doing it any other way is bananas.