Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What client-side web scripting languages are there other than JavaScript and VBScript?

  1. How many client-side scripting language implementations did you see except JavaScript and VBScript? Like: type="text/C++Script", text/CSharpScript, text/oberonScript, etc.

  2. How can I learn if my browser supports those languages?

like image 857
Slantroph Avatar asked Dec 13 '10 23:12

Slantroph


People also ask

Is JavaScript the only client-side language?

The future of JavaScript While JavaScript is not the only client-side scripting language on the Internet, it was one of the first and it is still the most widely used. Many developers believe that JavaScript is inefficient and finicky, so they have made many improvements to the language over the years.

How many types of web scripting languages are there?

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


1 Answers

The only languages I have ever seen supported by web browsers in <script> elements are:

  • JavaScript / JScript (which is ubiquitous)
  • VBScript (IE 10 and lower only)
  • PerlScript (IE with a plugin from ActiveState only)
  • Dart (in a nonstandard build of Chromium) which is not intended for production use.

The HTML 4 specification gives examples of Tcl, but I've never heard of a browser that implemented this.

In any practical sense (for WWW development), JavaScript is the only (not really a) choice.

There are also various languages (e.g. Dart, TypeScript, ES6/7) which have translators to convert programs to (ES5 flavoured) JavaScript which can then run in browsers.

like image 130
Quentin Avatar answered Sep 19 '22 12:09

Quentin