News for hackers. Stuff that matters.
Re:7GUIs by TheAceOfHearts on Thursday May 05, 2022 @02:44PM (#31277049)
This is missing challenges which include async content and proper error handling, which are both essential in modern web development.

For example:

You're loading or submitting content asnychronously and must handle different loading states in order to give the user feedback. If an action fails due to spotty internet you must also include a retry or refresh button.

You load a model form to modify some data, and when you submit your changes someone else has already made modifications to the model.

Re:7GUIs by 101008 on Thursday May 05, 2022 @03:33PM (#31277525)
Is the second case handled by the "frontend"? Shouldn't be handled by the backend and then return an error state/message?
Re:7GUIs by jjayjay on Thursday May 05, 2022 @03:59PM (#31277799)
It's not as simple as cases where both data and logic are local to the gui.

In this identified case, the gui has to react/behave correctly according to the results/errors of asynchronous remote logic over a spotty network.