Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
JavaScript is a client side scripting and utilizes client (browser or similar client app) and produces the results.
Whereas, server side scripting deos all the processing at server and utilizes it's resources to produce the results on clients' requests.
Server side: .Net, PHP, NodeJs, Java etc.
Client side: JavaScript etc.
Client-site scripting means that the code is interpreted by the client (navigator, mobile...). No need to contact the server to execute code, JavaScript is a good example. Server side scripting is when the script is executed by the server (mostly on demand from the client), Python and PHP are a server side languages.
Server Side scripting is mainly to read, write and delete the data from the database.And Client side scripting is mainly for UI part which will show the screen to end user using HTML, CSS,
Server side scripting is the code that executes on server and utitlise server resouces (CPU) like C# code.
While client side scripting executes on client machine (browser) and utilise client machine resources.
Javascript in client-side scripting.
Server Side scripting is mainly to read, write and delete the data from the database, and also do some heavy operation as thread or concurrent servers, languages used like Java, Ruby, PHP, GoLang, Python, Node JS.
Client side scripting is mainly for UI part which will show the screen to end user using HTML, CSS, Jquery, Javascript.
Javascript is the language which can be used in the both Client Side and Server Side (Node JS).
In short,
The client-side we can call it "Front-end" because the client-side is responsible about everything happen to a user, or responsible about everything the user can see it. the languages of client-side like HTML, CSS, and JavaScript.
The server-side is opposite, the server-side called "Back-end" and he responsible about everything happen in the server and the user can't see it
the most language famous for server-side is PHP, Python, ASP.net and more.
Short EX:
if we have a button,
the user can see the button "client-side" front-end
after we press the button some functions happened in "server-side" back-end and we can see it
and we will see the result after press the button "client-side" again.
hope my answer help you
Hi, So i will answer you simply, the server side scripting involves servers for its processing, whereas client-side scripting requires browsers to run the scripts on the client machine but does not interact with the server while processing.
In the other hand simply we can say that the client side is just a front end design that user can interact on the browser (It's something like helper application) whereas server side scripting is backend for that application that needs processed from someother applications/softwares (Servers), PHP is the example of the Server side scripting.
Client Side Scripting run on a browser it use the system resources of end user on the other hand server side scripting run on a web server.
JavaScript is a client side scripting which mean its run on end user system.