Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Other types of scripting languages for the web? [closed]

<script language="javascript" type="text/javascript"></script>

I have never seen any other scripting language used on the web. Now this is out of curiosity, but are there any other languages besides JavaScript that are used on the web and are scripting languages? This might be a stupid question, but I have never seen any other languages used in the script tag.

like image 616
Games Brainiac Avatar asked Oct 31 '12 11:10

Games Brainiac


People also ask

What are 2 types of scripting language?

Types of scripting languages There are two main categories of scripting languages: server-side and client-side scripting languages. Programmers use languages like Perl, Ruby, PHP and Python to create scripts that run on a server that provides functionality to a web page or application.

How many types of web scripting languages are there?

There are two main types of scripting languages: server-side and client-side.


3 Answers

Short answer? No. JavaScript or as it is properly known ECMAScript is the only client side scripting language available.

Long answer: Yes.

With plugins, people use ActionScript, Silverlight, and Java to create dynamic content.

Chromium also supports Dart, however Dart can be compiled into JavaScript and ran on any browser. CoffeeScript, like Dart, can also be compiled into JavaScript and ran in the browser.

The main reason that ECMAScript is the "only" client side language is that each and every browser has to implement their own version of the specification. This is why most vendors favour the use of plugins which enable their scripting language to run, rather than attempting to persuade browser vendors to implement a virtual machine for their language.

like image 83
djlumley Avatar answered Oct 04 '22 20:10

djlumley


Microsoft once added a VBScript interpreter to Internet Explorer as an alternative to JavaScript. They also used the term JScript instead of JavaScript for their own implementation.

like image 34
Dennis Traub Avatar answered Oct 04 '22 20:10

Dennis Traub


You can have multiple type see this link: http://www.w3schools.com/tags/att_script_type.asp

Example of types:

text/javascript (this is default)
text/ecmascript
application/ecmascript
application/javascript
text/vbscript
text/jscript

like image 26
Alessandro Minoccheri Avatar answered Oct 04 '22 19:10

Alessandro Minoccheri