Y
Hacker News
new
|
ask
|
show
|
jobs
by
jonkoops
279 days ago
Just use a generic data structure for your validation rules that you can apply on the front-end, and validate on the back-end. Using JavaScript and doing validation on a server are not mutually exclusive.