+ 1
Client-side vs Server-side?
What is the difference in function between client-side and server-side? I get one loads in the browser and the other from another computer, but what difference does it actually make?
3 odpowiedzi
+ 3
client-side involves actions such as animations on the browser of the user, there's no need to deal with the server.
server means kinda google server or clouds, for example, if you build a website that takes info and deals with, like name&password and others, (dynaically) there you deal with server-side
0
Well Mizuki, the important thing to understand is that internet is based on TCP/IP model. Basically this means that information is sent in packets and connection does not persist between two systems.
Now when while browsing, you type in a certain URI, the client, your browser, requests the page to the server. The server brings out the page from its memory, and the internet serves the page in packets. Now connection between two systems is not persisting but only establishes on requests.
So after you client gets the page, connection is lost again. The browser then processes the page and displays it. Here you see, that servers processing and clients processing is isolated. Therefore if some scripts are written on server side it remains on server side. And the client side scripts are sent to browser.
0
In a simple way:
client side : it is where the user interacts.
server side : it is where the provider interacts.