Scripting language: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stub}}
{{Incomplete}}
== Introduction ==


{{quotation|A scripting language, script language or extension language, is a programming language that controls a software application. "Scripts" are often treated as distinct from "programs", which execute independently from any other application. At the same time they are distinct from the core code of the application, which is usually written in a different language, and by being accessible to the end user they enable the behavior of the application to be adapted to the user's needs. Scripts are often, but not always, interpreted from the source code or "semi-compiled" to bytecode which is interpreted, unlike the applications they are associated with, which are traditionally compiled to native machine code for the system on which they run. Scripting languages are nearly always embedded in the application with which they are associated.}} ([http://en.wikipedia.org/wiki/Scripting_language Wikipedia], retrieved 09:59, 18 August 2008 (UTC)).
{{quotation|A scripting language, script language or extension language, is a programming language that controls a software application. "Scripts" are often treated as distinct from "programs", which execute independently from any other application. At the same time they are distinct from the core code of the application, which is usually written in a different language, and by being accessible to the end user they enable the behavior of the application to be adapted to the user's needs. Scripts are often, but not always, interpreted from the source code or "semi-compiled" to bytecode which is interpreted, unlike the applications they are associated with, which are traditionally compiled to native machine code for the system on which they run. Scripting languages are nearly always embedded in the application with which they are associated.}} ([http://en.wikipedia.org/wiki/Scripting_language Wikipedia], retrieved 10:20, 18 August 2008 (UTC)).


Distinguishing between a scripting language and a "normal" programming language may not be easy. Scripting languages usually are:
* interpreted (or compiled on the fly to some code that is then executed)
* an extension of some software (e.g. a web browser, a web server, a game, a [[multimedia authoring environment]]).
* simple, e.g. usually don't require variable declarations or class definitions.
However, popular scripting languages like JavaScript and PHP are defined independently of an application, can be run in several environments and allow also for a more strict type of programming...
See also: [[computer programming]] and [[end-user programming]].
== List of scripting languages ==
* [[PHP]] ([[PHP links]] page)
* [[Perl]]
* [[Python]]


== Related entries (in this wiki) ==
== Related entries (in this wiki) ==
Line 18: Line 31:


; Operating system
; Operating system
Scripting languages firstly appeared to script series of commands for multi-user operating system. It is still good to have some scripting knowledge, e.g. to modify start-up scripts for web services.
* [[Shell script]]
* [[Shell script]]
* [[Environment variable]]
* [[Environment variable]]
; [[Microworld]]s
* Most microworlds are scriptable, some through a visual programming language.


; [[E-learning]] technology
; [[E-learning]] technology
* [[Sharable Content Object Reference Model]]
Some [[learning object]]s can be scripted to implement an "interface" between user and the web engine, e.g. an [[LMS]] can track user performance.
* E.g. the [[Sharable Content Object Reference Model]] (SCORM) defines a JavaScript extension.


; Virtual environments
; Virtual environments
Line 28: Line 46:
* Modern proprietary 3D [[virtual habitat]]s like [[Second Life]] can be scripted.
* Modern proprietary 3D [[virtual habitat]]s like [[Second Life]] can be scripted.


; [[Web application framework]]s
== Web application frameworks ==
* [[PHP]], [[PHP links]]
* CodeIgniter (uses [[PHP]])
* [[Perl]]
* [https://en.wikipedia.org/wiki/Django_(web_framework) Django] (uses [[Python]])
* Python
* Zend (uses [[PHP]])
* ....


== Links ==
== Links ==


* [http://en.wikipedia.org/wiki/Scripting_language Scripting language] (Wikipedia)
* [http://en.wikipedia.org/wiki/Scripting_language Scripting language] (Wikipedia)




[[Category:Programming]]
[[Category:Programming]]

Latest revision as of 00:59, 30 November 2015

Introduction

“A scripting language, script language or extension language, is a programming language that controls a software application. "Scripts" are often treated as distinct from "programs", which execute independently from any other application. At the same time they are distinct from the core code of the application, which is usually written in a different language, and by being accessible to the end user they enable the behavior of the application to be adapted to the user's needs. Scripts are often, but not always, interpreted from the source code or "semi-compiled" to bytecode which is interpreted, unlike the applications they are associated with, which are traditionally compiled to native machine code for the system on which they run. Scripting languages are nearly always embedded in the application with which they are associated.” (Wikipedia, retrieved 10:20, 18 August 2008 (UTC)).

Distinguishing between a scripting language and a "normal" programming language may not be easy. Scripting languages usually are:

  • interpreted (or compiled on the fly to some code that is then executed)
  • an extension of some software (e.g. a web browser, a web server, a game, a multimedia authoring environment).
  • simple, e.g. usually don't require variable declarations or class definitions.

However, popular scripting languages like JavaScript and PHP are defined independently of an application, can be run in several environments and allow also for a more strict type of programming...

See also: computer programming and end-user programming.

List of scripting languages

Related entries (in this wiki)

Interactive web pages

There exist various formats for interactive web pages. Most scripting languages are based on ECMAScript and use specific DOM bindings.

Authoring environments
Operating system

Scripting languages firstly appeared to script series of commands for multi-user operating system. It is still good to have some scripting knowledge, e.g. to modify start-up scripts for web services.

Microworlds
  • Most microworlds are scriptable, some through a visual programming language.
E-learning technology

Some learning objects can be scripted to implement an "interface" between user and the web engine, e.g. an LMS can track user performance.

Virtual environments

Web application frameworks

Links