Need of Scripting Languages
Need of Scripting Languages
Unit 2
What is Scripting Language?
● All scripting languages are programming languages.
● The scripting language is basically a language where instructions
are written for a run time environment.
● They do not require the compilation step and are rather
interpreted.
● It brings new functions to applications and glue complex system
together.
● A scripting language is a programming language designed for
integrating and communicating with other programming
languages.
● A scripting language is used to write scripts. These contain a
running.
● Scripts are generally associated with web development where they
● bash: It is a scripting language to work in the Linux interface. It is a lot easier to use bash to create
scripts than other programming languages. It describes the tools to use and code in the command line
and create useful reusable scripts and conserve documentation for other people to work with.
● Node js: It is a framework to write network applications using JavaScript. Corporate users of Node.js
include IBM, LinkedIn, Microsoft, Netflix, PayPal, Yahoo for real-time web applications.
● Ruby: There are a lot of reasons to learn Ruby programming language. Ruby’s flexibility has allowed
developers to create innovative software. It is a scripting language which is great for web
development.
● Python: It is easy, free and open source. It supports procedure-oriented programming and object-
oriented programming. Python is an interpreted language with dynamic semantics and huge lines of
code are scripted and is currently the most hyped language among developers.
● Perl: A scripting language with innovative features to make it different and popular. Found on all
windows and Linux servers. It helps in text manipulation tasks. High traffic websites that use Perl
extensively include priceline.com, IMDB.
Advantages of scripting languages
● Easy learning: The user can learn to code in scripting languages quickly, not much
knowledge of web technology is required.
● Fast editing: It is highly efficient with the limited number of data structures and variables
to use.
● Interactivity: It helps in adding visualization interfaces and combinations in web pages.
Modern web pages demand the use of scripting languages. To create enhanced web
pages, fascinated visual description which includes background and foreground colors
and so on.
● Functionality: There are different libraries which are part of different scripting
languages. They help in creating new applications in web browsers and are different
from normal programming languages.
Application of Scripting Languages
● Scripting languages are used in web applications. It is used in server
side as well as client side.
● Server side scripting languages are: PHP, Perl etc. and client side
scripting languages are: JavaScript, AJAX, jQuery etc.
● Scripting languages are used in system administration. For example:
Shell, Perl, Python scripts etc.
● It is used in Games application and Multimedia.
● It is used to create plugins and extensions for existing applications.
Factor Scripting Language Programming Language
Conversion High level instructions converted to Full program converted to machine language in one
machine language time
Design Makes coding simple and fast Gives full use of language
File type Does not create a file type Creates a .exe file
Length Only a few and short lines of coding Numerous lines for every function
Support Limited or no support to user interface Rich support to user interface design, data
design, data types, and graphic design types, and graphic design
Example JavaScript, PHP, Ruby, Perl, VB Script, etc. C, C++, Java, Pascal, C#, VB, Basic,
COBOL, etc.