Client-side vs Server-side? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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?

7th Dec 2016, 4:04 PM
Mizuki Ukitake
Mizuki Ukitake - avatar
3 Answers
+ 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
7th Dec 2016, 4:10 PM
Khamidjon Egamov
Khamidjon Egamov - avatar
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.
7th Dec 2016, 4:21 PM
Rishi Anand
Rishi Anand - avatar
0
In a simple way: client side : it is where the user interacts. server side : it is where the provider interacts.
8th Dec 2016, 3:26 PM
Rithu.O.R