CodeNewbie Community 🌱

Adam
Adam

Posted on

What is the difference between client-side and server-side programming?

Hey y'all! I hope your week is going great!

I'm starting my dev journey and loving it so far! One question I had for you all was: what is the difference between client-side and server-side programming?

Can any good samaritan help me out?

Many thanks in advance!

Top comments (2)

Collapse
 
abdulramonjemil profile image
Abdulramon Jemil

Basically. When an HTTP request is made. There's usually a client and a server. Let's for example say you enter Google.com in your browser, your browser is the client because its the one requesting for the webpage that exists at google.com and google.com is hosted on a server (not one though) which accepts requests sent from clients like your browser and then returns the appropriate response.
Any programming stuff that take place in your browser in this case is called client side programming and any programming stuff that takes place on servers like the server that hosts google.com is known as server side programming

Collapse
 
chukwukagideon profile image
Chukwukagideon

Client side deals with what the users can see (it has to do with the interface, and the over all look of the website or app) for websites - client side programming is mostly done using html5, CSS3, JavaScript.
While server-side is the back-end side of the web, it deals with providing information and data on the website, it also has to do with sending and receiving information from a server, for this you need PHP, MySql, etc.well that's all I know about server-side πŸ™‚