Answer the question
In order to leave comments, you need to log in
Is the logic on the client or on the server?
Designing a repair estimate calculator with a 2D room editor.
Main feature: by the area of the drawn room, calculate the work using formulas.
Now I'm planning a web application on react, with the ability to transfer to electron.
An important architectural question arises: where to write the logic on the client or on the server?
Benefits on the client
Answer the question
In order to leave comments, you need to log in
If the calculator is planned to be paid, then it is better to do the logic or part of it on the server, otherwise the paid one will be free.
I think the answer is already in the question itself, since "Advantages on the client" and "Disadvantages on the server" were highlighted. Not a word was said about the advantages on the server, and the disadvantages on the client - it means that the choice was already made initially :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question