Can someone please tell me what is difference between client side script language and server side.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can someone please tell me what is difference between client side script language and server side..

10th May 2018, 6:30 PM
Suruthi Sridhar
Suruthi Sridhar - avatar
2 Answers
+ 2
Client side programming has mostly to do with the user interface, with which theuser interacts. In web development it's the browser, in the user's machine,that runs the code, and it's mainly done in javascript, flash, etc. This code must run in a variety of browsers. Its main tasks are: · validating input (Validation must be done in the server. A redundantvalidation in the client could be used to avoid server calls when speed is verycritical.) ·animation · manipulating UI elements · applying styles · some calculations are done when you don't want the page to refresh sooften The person in charge of front endprogramming must know: · javascript · css · HTML · basic graphic design · Ajax · maybe Flash · some 3rd party javascript libraries like JQuery · UI design · information design, etc. Server side programming has to do with generating dynamic content. It runs onservers. Many of these servers are "headless". Most web pages are notstatic, they search a database in order to show the user updated personalizedinformation. This sides interacts with the back end, like say, the database. This programming can be done in a lot of languages: · PHP · Java and jsp · asp · Perl · Python · Ruby on Rails, etc. This code has to do with: · Querying the database · Encode the data into html · Insert and update information onto the database · Business rules and calculations
10th May 2018, 6:31 PM
MsJ
MsJ - avatar
+ 2
The name say all... Client side happen on client (in web context it happen on browser) while server side happen on server (like PHP that its execute on server and send result ti client)
10th May 2018, 6:50 PM
KrOW
KrOW - avatar