New answers tagged php
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 ...
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, ...
Top 50 recent answers are included
Related Tags
php × 2047object-oriented × 260
mysql × 197
design-patterns × 189
web-development × 139
mvc × 139
javascript × 107
design × 95
database × 77
laravel × 73
web-applications × 68
architecture × 55
java × 50
frameworks × 49
object-oriented-design × 48
security × 47
unit-testing × 45
api × 45
html × 45
programming-practices × 41
dependency-injection × 41
python × 37
ajax × 37
rest × 35
sql × 35