Client side scripting and Server side scripting languages

69,742

Solution 1

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.

Solution 2

What scripting languages comes under client side

For all practical purposes: JavaScript

and what and all comes under server side?

Every programming language under the sun (including JavaScript)

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

It is a library. Yes. Generally … it is geared very heavily towards the browser, but (in theory at least) you could use it with something like PhantomJS for manipulating webpages on the server.

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.

Internet Explorer (although prossibly only older versions) also supports VBScript for client side programming. Using it isn't practical on the WWW since it doesn't run anywhere else.

Solution 3

Quoted with minor formatting changes from user61852's answer

"Here I will talk only about web programming.

Client side programming has mostly to do with the user interface, with which the user interacts. In web developing it's the browser, in the user's machine, that runs this code, and is mainly done in javascript, flash, etc. This code must run in a variety of browsers.

Its main tasks are:

validating input animation manipulating UI elements applying styles some calculations are done when you don't want the page to refresh so often The person in charge of front end programming 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 on servers. Many of these servers are "headless". Most web pages are not static, they search a database in order to show the user updated personalized information. 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 which:

Querying the database Encode the data into html Insert and update information onto the database Business rules and calculations The person in charge of server side programing must know:

some of the languages mentioned above HTML SQL, linux/unix shell scripting OOP business rules, etc."

Solution 4

In Client side scripting,Script file usually download on client system and client browser compiled this script file and generate HTML. And Generated HTML display by browser.

EX- JavaScript file, Jquery file, AngularJs file.

In server side scripting, when user request page for display then script run on server and generate dynamic HTMl file and send this HTML file to user.

EX- Asp(.asp), Asp.Net(.aspx), PHP(*.php).

Solution 5

If the code is compiled/run on the clients machine, it is considered client-side. Serverside means a script which is compiled/run on the server before sending it to a browser. jQuery is just a library for JavaScript. That's all clientside.

For instance, some common used languages on the web.

Client-side: JavaScript
Server-side: PHP, Ruby, Perl

Share:
69,742
Rachel
Author by

Rachel

Updated on August 01, 2022

Comments

  • Rachel
    Rachel almost 2 years
    • 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.