DEV Community

Discussion on: Why Do You Need a Backend?

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.