Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Client side scripting and Server side scripting languages

  • What scripting languages comes under client side and what and all comes under server side?

  • If JavaScript is scripting language, then what about jquery. jquery is nothing but javascript library rite? so jquery is client side scripting?

    I goggled it, but its still confusing. In some sites its given, client side scripting are JavaScript and vb script and in some other sites its saying only JavaScript. In case of server side, they are mentioning html also.

    Can i have a clear idea about this.

like image 947
Rachel Avatar asked Mar 07 '13 11:03

Rachel


People also ask

What is client-side scripting language and server side scripting language?

On a dynamic website there are client -side and server -side scripts. Client-side and server-side are sometimes referred to as front-end and back-end. The client-side of a website refers to the web browser and the server-side is where the data and source code is stored.

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

Client-side means that the processing takes place on the user's computer. It requires browsers to run the scripts on the client machine without involving any processing on the server. Server-side means that the processing takes place on a web server.


1 Answers

Client Side:

Scripts that execute in client side. In context of websites, it is scripts that execute in the browser of the user.

Eg: Javascript, VB etc.

(JQuery, DOJO are libraries build on top of Javascript so it is also client side.)

Server Side:

Scripts that execute in the Server. In context of website, it is scripts that execute on application servers.

Eg: PHP, Python, Ruby etc

We cannot classify languages as client side or server side. There could be a scenario where a server can execute Javascript and render HTML from it. In this context Javascript becomes a server side lanuage. I hope I did not confuse you.

like image 158
Subir Kumar Sao Avatar answered Sep 30 '22 08:09

Subir Kumar Sao