DEV Community

Discussion on: Why Do You Need a Backend?

Collapse
 
xiaobai5883 profile image
xiaobai5883

hi.. i'm totally new this area.. i had some R and SAS programming knowledge but not js or html.. i have questionsssss regarding what i am planning to do, to create a simplified "randomized" maths practice platform with "model".. but the first question will be.. do i need a backend to store those "models"?? or i could just put in at the front end?? i can let you know more info if you don't understand what am i saying..

Collapse
 
kayis profile image
K

The first question is, can this model be implemented with JavaScript? If yes? Then you can put it on the frontend.

The next question is, do you have any reason to "hide" the model from your customers? For example, the model is your unique selling point and you want to keep competitors from stealing it. Then you have to put your model on the backend.

Also, performance could be a limiting factor. If you want smartphone users use your model, but it's too big or too performance hungry, then you would have to run it on a big backend system.