News for hackers. Stuff that matters.
Re:Never trust the client by ageektrapped on Wednesday April 27, 2016 @04:09PM (#11584085)
> 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!

Re:Never trust the client by taneq on Thursday April 28, 2016 @01:54AM (#11586769)
The 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.