1. A script or scripting language is a computer language with a series of commands within a file that is capable of being executed without being compiled. Good examples of server side scripting languages include Perl, PHP, and Python. The best example of a client side scripting language is JavaScript. A full list of scripting languages and other programming languages can be found through our programming language definition.

Advantages of scripts

  • Open source, allowing users to view and edit the script if needed.
  • Does not require the file to be compiled, but may be when necessary.
  • Easy to learn and write.
  • Easy to port between different operating systems.
  • Much faster to develop than an actual program - some individuals and companies write scripts as a prototype for actual programs.

Disadvantages of scripts

  • Open source, allows others to view source code, which may be prohibited by some companies.
  • In some situations, they may be slower than a compiled program.
  • Requires the user to install an interpreter or separate program before the script can be run.

Related pages

2. Linux command, see the script command page for further information.

3. When referring to HTML, the <script> tag is used to designate a client-side script on a web page.

Also see: Automation, Client side, Command language, HTML, Macro, Programming terms, Scriptz, Server side scripting, Shell script