Flag This Hub

Programming.a.baby - (Pmg) Browser Script Languages List

By


Programming - Article 2

What is

Browser Script Languages are Programming Languages that can work inside or be interpreted by Web Browser.

Suppose you are watching a Web Page made only with Html and/or Text, there's nothing happening right! - Only a static document.

But if you use some kind of Script Language inside your Html Code, there you will have an interaction with it, take these examples:

  • A Form to send Information like name, address...etc is only possible with a internal Browser Script like Javascript within Mozilla or Jscript within Internet Explorer
  • An Flash Animation, needs Flash Script or Actionscript to work

Now i will show you a list of Browser Script Languages telling you also were it came from

Actual Browser Script Languages

  • Actionscript
    • Creator: Gary Crossman
    • Developer: Macromedia/Adobe Systems
    • Year: 1998
    • Platform: Adobe Flash
    • Influenced by: Java, C, Perl, Python...etc
    • Type: Object Oriented Language - Dialect of Ecma
  • Apple Script
    • Creator: Apple inc
    • Developer: Apple inc
    • Year: 1993
    • Platform: Mac OS, Mac OS X, System 7
    • Influenced: Natural Language, Hypercard
  • Ecmas Script
    • Creator: Ecma International
    • Developer: Sun microsystems
    • Year: 1997
    • Platform: Various Platforms
    • Mother of (Jscript, Javascript, Activescript, Qml, DMDScript, QTScript, InScript )
  • Javascript
    • Creator: Brenden Eich
    • Developer: Mozilla Foundation
    • Year: 1995
    • Platform: Mozilla Browsers and more
    • Influenced by: Java, C, Perl, Python...etc

  • Jscript
    • Creator: Microsoft
    • Developer: Microsoft
    • Year: 1996
    • Platform: Windows, Internet Explorer and Net Framework
    • Influenced by: Javascript

  • VBScript
    • Creator: Microsoft
    • Developer: Microsoft
    • 1996
    • Platform: Windows...etc - lightweigth language with fast interpreter
    • Influenced by: Visual Basic

.

.

...

In the following samples i will show you some samples using diferent Client Side Scripting Languages (Browser Script Languages) to write a Simple Function

  • Javascript Sample - Every Browser supports it
  • Jscript Sample - Firefox and Safari do no support it (use IE, Opera...etc)
  • Actionscript - Normaly supported if you install Adobe Flash
  • Ecmas Script - Supported by IE, Firefox and some others

Javascript - sample

function mymessage()
{
    var message = "Hello People"
    If message > ""
    {
    alert(message);
    }
}

mymessage()

Jscript - Sample

function something(a, b)  
{
    var anything = 0;
    if (a > b)  
    {
        a = anything;
    }
}

something(12, 14)

ActionScript - Sample

function moveObject (myObject) {
myObject._x += 10;
myObject._y +=10;
}

moveObject (myBox);

Ecmas - sample

function showFrame() {
      var frame = new JFrame("My test frame");
      var label = new JLabel("Hello from Java objects created in ECMAScript!");
      label.setHorizontalAlignment(SwingConstants.CENTER);
      frame.getContentPane().add(label);
      frame.setSize(400, 100);
      frame.setVisible(true);
      frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    }

VBScript - sample

Function myfunction(a,b)
    somemessage = " These are the results"
    myfunction=a+b & somemessage
    End Function

document.write(myfunction(5,9))

Comments

No comments yet.

Submit a Comment
Members and Guests

Sign in or sign up and post using a hubpages account.



    Like this Hub?
    Please wait working