New answers tagged

1 vote

frontend server obtain data from backend server, or frontend server return page with javascript that obtain data from backend server?

If you're taking the second approach, then be aware that you should never trust code running on someone else's machine. There are ways for a user to dynamically replace the javascripts on a web page ...
Simon B's user avatar
  • 9,513
2 votes

frontend server obtain data from backend server, or frontend server return page with javascript that obtain data from backend server?

The second approach has several benefits over the first one. The work of adjusting the rendered page with the information from the back-end server is distributed to all the various client devices, ...
Bart van Ingen Schenau's user avatar

Top 50 recent answers are included