- 1
What is the difference between client side and server side javascript
3 Antworten
+ 1
server-side : for example when you want to log into your account the server does all the checks and decide whether your account exists or if the password is correct and so on. (not necessarily javascript)
client-side : for example the page design is rendered locally on your browser.
the things you interact with without the need to get the data from the server.
+when you, for example swipe on a page and something happens(show next page, next photo...) , it doesn't need to connect to the server to decide what happens the script is already in your browser cache or embedded in the page.
0
client side is what gets executed on your browser locally while you are viewing the pages. it can usually be altered, modified using userscripts using add-ons like Greasemonkey,...
server side is what gets executed on the server and then it sends you the data as generated on the server, the user doesn't have any control over it.
0
Example please