Answer the question
In order to leave comments, you need to log in
Is it worth it to implement calculations on the front end?
If we assume that there is a semblance of CRM for business, where the customer wants most of the calculations to occur not manually, but automatically. For example, there is a list of supplied services from which an estimate is collected:
Answer the question
In order to leave comments, you need to log in
To reduce the response time is normal on the frontend.
For security - you need to control on the backend.
First rule - don't trust the front.
if the results of calculations are entered into the database, then you just need to count on the backend, and it would be better not to duplicate the functionality, and accordingly, on the contrary, you don’t need to enter it into the database and store it, then it’s better to calculate everything at the front.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question