Answer the question
In order to leave comments, you need to log in
How to write a calculator for calculations?
Actually the question is next, it is necessary to implement a web application for calculating the cost.
The parameters should change depending on what the client chose at step 1.
Those. in 1 window there is only 1 list with a choice, and depending on what the person has chosen, he gets to the next screen where the corresponding fields for entering data.
I think this can be tried to do in the form of a one-pager.
What framework would you recommend to use?
The same question is where to store the parameters for calculations. It is clear that in the database, but what js framework can work with the database? Data for calculations will sometimes need to be corrected.
Answer the question
In order to leave comments, you need to log in
If there are not many parameters, then you can store them in a json file directly on the server. You can edit in a text editor if necessary.
And so we already wrote about Angular above. But you can also write on jQuery + Bootstrap. jQuery can get data from JSON. Screen transitions are simply implemented using Bootstrap tabs. The forms themselves are also quite simple to make on Bootsrap. The logic of calculation on JS can be washed down.
But keep in mind that in this case, the calculation logic will be available to all users who can dig.
Yes, it is possible with a framework, it is possible without it. Angular fits exactly. Calculation parameters can be loaded from the server via JSON.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question