What is the script?
Script
Updated: 10/11/2017 by Computer Hope
A script may refer to any of the following:
1. A script or scripting language is a computer language with a series of commandswithin 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.
- Requires the user to install an interpreter or separate program before the script can be run.
- In some situations, they may be slower than a compiled program.
3. When referring to HTML, the <script> tag is used to designate a client-side script on a web page.
0 comments