Re:Can You Afford It? Real-World Web Performance Budgets
by aaron-lebo on Saturday October 28, 2017 @02:33AM
(#15574220)
You're glamorizing old web. Old web had the same quality issues, most form submissions were not taking 100 ms and JS validation does not (have to) take 100 ms today.
If you exaggerate the numbers, you can't make any useful comparisons.
Re:Can You Afford It? Real-World Web Performance Budgets
by vecinu on Saturday October 28, 2017 @02:46AM
(#15574242)
What about all of the information that was already in the submitted form?
We can now keep the user's state and inform them of errors in a way that is more difficult with server-ride rendering.
Re:Can You Afford It? Real-World Web Performance Budgets
by bildung on Saturday October 28, 2017 @03:32AM
(#15574334)
> What about all of the information that was already in the submitted form?
Of course the form gets returned from server validation will all user input prefilled? At least with Django that's the default behaviour.
Well, it used to be that submitting a form and rendering errors on the server took the same ~100ms that evaluating a javascript framework validation does now, and so it was... not a problem.
If you mean "leaving aside the most trivial html stuff" to include things like html5 inputs, that's the most significant part of what Javascript provides in form validation.