DEV Community

Discussion on: 5 Reasons Why Front-end Is So Hard

Collapse
aarone4 profile image
Aaron Reese

I know your comment was tongue in cheek but there is a large grain of truth. Because FE is so complex they may try multiple approaches, they are in direct correspondence with the end users and their vague and shifting requirements. As a database guy I am only really concerned about the state of the data at the end of a process and although I need to validate the input I don't have to worry about the transient state as we move from Read to Update. E.g. if a user is modifying a customer address in a RESTless client, who validates that the underlying database records have not been modified between the get and patch requests. Or limited stock (like concert tickets) are not stolen by another submit. The UX and anticipating every way the user could screw the process is hard.