In computer science, a script is an informal term used to designate a relatively simple program. Scripts are not usually compiled ahead of time into machine code, but are executed by an interpreter that reads the source file on the fly; or even through an interactive console where the user supplies the program to the interpreter step by step. Scripts or scripts can be used to prototype programs, automate repetitive tasks, do batch processing, and interact with the operating system and the user (because of this, command shells or shells are often designed with programming capabilities).

Some programming languages ​​are considered “scripting languages” if they are suitable for scripting fluently, although they are also used to code much more complex programs. For example, although Python is a popular scripting language, programs written entirely in Python like Deluge or libraries like SciPy are more than just scripts.

Scripts functions


They are in charge of fulfilling the following functions:

Combine components.

Interact with the operating system or with the user.

Control a certain program or application.

Setting up or installing operational systems, especially in games, is used to control the actions of characters.

These are widely used to interact with the computer’s operating system, in an automated way.

Although, many times, when we create programs with interpreted languages, such as Perl or Python, we are creating more complex scripts that can perform any task or data handling, as a compiled program, hence the enormous versatility of this programming resource.

Scripts are widely used in the design and development of web pages and Internet sites, as they allow you to manipulate their appearance and create quite attractive special effects.

Scripts on the Internet can be classified into client side and server side scripts.

ScriptsClientSide: JavaScript is generally used, but VBScript can be used (Internet Explorer or Google Chrome only). It is usually aimed at AJAX or DOM manipulation.

ScriptsServerSide: They don’t have the accessibility issues that ClientSideScripts can present. They also allow you to modify the HTTP headers, or obtain them. In addition, they allow access to databases and other internal files.


Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *