Answer the question
In order to leave comments, you need to log in
Does a front-end developer make button handlers?
Does a front-end developer make button handlers? Like if you clicked on the button to go to another page or something like that? Or is it all done by the Back-end developer?
Answer the question
In order to leave comments, you need to log in
Going to another page is not a button, but a link.
The link can be designed as a button in appearance.
In this case, there is no handler as such. Although the link may contain parameters that are processed when the page is generated on the server. In this case, we can say that the conditional handler is located on the server, that is, the Back-end developer does it.
However, part of the logic can be done on the client. For example, before submitting a form (button + transition to another page), just in case, there may be a check of the entered data. Of course, this data needs to be double-checked on the server, but so that honest users do not have to wait a long time while the data is rushing back and forth, it is much faster to check it before sending it and immediately issue an answer. In this case, the handler is done by the Front-end developer.
Well, according to the idea, if we are talking about a front-end developer, and not a simple layout designer, then yes, he does the processing. Most often this is done in VueJS, react, angular SPA applications.
But in the usual layout, there is also processing, for example, when adding a product to the cart with Ajax, or loading when scrolling, and much more.
Sometimes it turns out a hybrid, something is processed from the frontend, something on the backend
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question