Scripting Languages: Perl, JavaScript, VBScript & AppleScript Video

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: Search Engines, Keywords & Web Portals

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:07 Scripting Languages
  • 2:14 JavaScript
  • 3:58 Perl
  • 5:08 VBScript
  • 5:39 AppleScript
  • 7:08 Lesson Summary
Save Save Save

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Log in or Sign up

Speed Speed

Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Paul Zandbergen

Paul has a PhD from the University of British Columbia and has taught Geographic Information Systems, statistics and computer programming for 15 years.

Scripting languages are used extend the functionality of existing software, such as creating dynamic content for web pages and automating repetitive tasks. Learn about some of the most popular scripting languages and their applications.

Scripting Languages

Developing software requires programming. Programming consists of writing a series of very detailed instructions that tell a computer what to do. The code for a typical software application can be very complex and long. For example, the code for word processing or illustration software can easily reach one million lines of code.

In many cases, however, you may want to do something simpler than developing your own software. For example, let's say you have a few hundred digital photographs and you need to resize them and then upload them to a website. You have photo-editing software that can resize photographs. However, doing this one-by-one is going to be cumbersome, so you want a tool that automates this process.

What you need is a script. A script is a set of instructions that automates the execution of tasks which would otherwise be done one-by-one by a human operator. You can write scripts using a scripting language, which is a type of programming language to write scripts.

Scripting is a form of programming, but it typically takes place within an existing application. You can use scripting to extend the functionality of existing software. Scripting is widely used with certain types of software applications, to enhance web pages within browser software, and to automate tasks within an operating system.

There are many different scripting languages. Several of these are specifically used for one particular purpose. For example, Visual Basic for Applications is used within Microsoft Office, and JavaScript is used mostly to develop dynamic content for web pages. Other scripting languages are more general-purpose and can be used for a range of different tasks, such as Perl and Python. This lesson will discuss some of the widely used scripting languages and their typical applications.


JavaScript is used for client-side scripting of dynamic content of web pages. Client-side scripting means that the script is part of the web page itself when you download it and is executed by the browser software. This is in contrast to server-side scripting where the scripts are run on a central computer server.

JavaScript was originally developed for one of the earliest Internet browsers called Netscape. It quickly became popular to enhance the content of web pages, and it remains very popular. The name JavaScript is somewhat confusing, since the language is not related to another programming language called Java - these languages have nothing in common other than their name.

A standard called ECMA-262 was developed for JavaScript by Ecma International. You will therefore see the name ECMAScript instead of JavaScript being used, but they refer to the same language.

The most common use of JavaScript is to develop dynamic content within regular web pages in HyperText Markup Language, or HTML, format. Basic HTML consists mostly of text and images, and JavaScript can make things more interactive. For example, when you move your pointer over a button and it changes color - that is a few lines of JavaScript code. The code goes something like this: 'if the cursor is over this button, then do the following.' Dynamic content development using JavaScript also includes things like animations, forms and other user interaction.


Perl is a general purpose scripting language. It is widely used in server-side scripting, where users submit a request and this is processed by a script running on the server. Typical examples of such requests are posting user contributions to Internet discussion boards and the processing of customer orders. Website like and Craigslist rely heavily on Perl scripting.

To unlock this lesson you must be a Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create an account