Re:Better Software Design with Clean Architecture
by dozzie on Monday July 03, 2017 @06:29AM
(#14687238)
> Field level validation(Is this email in a valid format) checking that input is sane is done at the UI level.
In two places in UI: as close to the user as possible (which improves
ergonomics) and at the system's border (which prevents entering invalid data
to the system at all). While the former is somewhat optional, the latter is
absolutely necessary and cannot be left to client-side JavaScript.
In two places in UI: as close to the user as possible (which improves ergonomics) and at the system's border (which prevents entering invalid data to the system at all). While the former is somewhat optional, the latter is absolutely necessary and cannot be left to client-side JavaScript.