Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSP and the fly likes ECMA Script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "ECMA Script" Watch "ECMA Script" New topic
Author

ECMA Script

Sandeep Jindal
Ranch Hand

Joined: Aug 25, 2003
Posts: 180
Dear All,

Please tell me what is ECMA script and how it is related/different from Java script and other scripting languages.

Thanks and Regards
Sandeep Jindal


SCJP 5.0
http://sites.google.com/site/duddlutechnologies/home
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
ECMAScript is the standard version of what is generally known as JavaScript.

The name JavaScript is mainly historical (though almost everyone uses it instead of the more technically correct name) and was invented by Netscape Corp. for their new browser scripting language in the old days (when men were real men, compilers were real compilers and small furry creatures from Alpha Centauri were sci/fi authors with too much to drink).
Netscape donated their work to ECMA (a standards body) and promptly started adding all kinds of Netscape specific stuff to their implementation leading to the mess of browserspecific JavaScript versions in use today.

Most any browser supports ECMAScript, if you stick to it you have effectively a common platform for your code.

It's similar to the story of ANSI C where compiler manufacturers often added their own non-standard "enhancements" which break compiler compatibility.


42
Sandeep Jindal
Ranch Hand

Joined: Aug 25, 2003
Posts: 180
Thanks Jeroen,

Really these sort of explanations really helps. When someone asked do u know ECMA Script, i used to say and yes to JavaScript.

Thanks Once Again.

Sandeep Jindal
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61066
    
  66

Moving to the HTML/Javascript forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ECMA Script