Hacker News new | ask | show | jobs
by ageektrapped 3702 days 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!

1 comments

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.