Scripting Language

Scripting language is a programming language that is often configured to perform tasks automatically on a runtime system.

JavaScript, Python, Ruby and more are examples of scripting languages.


Types of scripting languages

There are two types of scripting language

  • First is client side scripting language.
  • Second is server side scripting language.

Client side scripting language

Writing scripts or code by a client into a language that the browser understands and the browser can convert that code into a user-readable language is called client-side scripting language.

When we open a website on our laptop or machine, our browser connects with the data kept on the server and receives 'Browser Readable Code' from there, and converts that code or language into 'user readable language' , and opens the website on our machine.

That is, the web developer uploads such a code or language to the server, which can be read or understood by the browser, Because this data is already browser readable, Such language is called client side scripting language.

There are some languages which are readable for browser like HTML, CSS, JavaScript, these can be easily understood by browser.


Second is 'Server Side Scripting Language'

Server Side Scripting Language

Server side scripting language is a language that requires scripting by the server, and without scripting or conversation, the browser cannot understand it.

Server side scripting language code is scripted by the server on the server before it reaches our browser, after the code is converted into a browser readable language the code is sent to the browser,

That is, the process of converting non browser readable languages into browser readable languages is done on the server, this process is called server side scripting and such languages whose scripting is done on the server are called server side scripting languages.

In a client side scripting language, all actions to make the code, readable by browser are done from the client side.

In a server side scripting language, all actions to make the code 'browser readable code' are performed by the server on the server side.

So this is the difference between client side scripting language and server side scripting language.

Learn more about JavaScript