14.07.2013 Views

Essentials of Javascript - Cultural View

Essentials of Javascript - Cultural View

Essentials of Javascript - Cultural View

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

JavaScript 2<br />

History<br />

Anyway I know only one programming language worse than C and that is <strong>Javascript</strong>. [...] I was convinced that we needed to build-in<br />

a programming language, but the developers, Tim first, were very much opposed. It had to remain completely declarative. Maybe,<br />

but the net result is that the programming-vacuum filled itself with the most horrible kluge in the history <strong>of</strong> computing: <strong>Javascript</strong>.<br />

[9]<br />

Robert Cailliau<br />

JavaScript was originally developed by Brendan Eich <strong>of</strong> Netscape under the name Mocha, which was later renamed<br />

to LiveScript, and finally to JavaScript. [10] [11] LiveScript was the <strong>of</strong>ficial name for the language when it first<br />

shipped in beta releases <strong>of</strong> Netscape Navigator 2.0 in September 1995, but it was renamed JavaScript in a joint<br />

announcement with Sun Microsystems on December 4, 1995 [12] when it was deployed in the Netscape browser<br />

version 2.0B3. [13]<br />

The change <strong>of</strong> name from LiveScript to JavaScript roughly coincided with Netscape adding support for Java<br />

technology in its Netscape Navigator web browser. The final choice <strong>of</strong> name caused confusion, giving the<br />

impression that the language was a spin-<strong>of</strong>f <strong>of</strong> the Java programming language, and the choice has been<br />

characterized by many as a marketing ploy by Netscape to give JavaScript the cachet <strong>of</strong> what was then the hot new<br />

web-programming language. [14] [15] It has also been claimed that the language's name is the result <strong>of</strong> a co-marketing<br />

deal between Netscape and Sun, in exchange for Netscape bundling Sun's Java runtime with their then-dominant<br />

browser.<br />

JavaScript very quickly gained widespread success as a client-side scripting language for web pages. As a<br />

consequence, Micros<strong>of</strong>t developed a compatible dialect <strong>of</strong> the language, naming it JScript to avoid trademark issues.<br />

JScript added new date methods to fix the non-Y2K-friendly methods in JavaScript, which were based on<br />

java.util.Date [16] . [17] JScript was included in Internet Explorer 3.0, released in August 1996. The dialects are<br />

perceived to be so similar that the terms "JavaScript" and "JScript" are <strong>of</strong>ten used interchangeably. (Micros<strong>of</strong>t,<br />

however, notes dozens <strong>of</strong> ways in which JScript is not ECMA-compliant. [18] )<br />

In November, 1996 Netscape announced that it had submitted JavaScript to Ecma International for consideration as<br />

an industry standard, and subsequent work resulted in the standardized version named ECMAScript. [19]<br />

JavaScript has become one <strong>of</strong> the most popular programming languages on the web. Initially, however, many<br />

pr<strong>of</strong>essional programmers denigrated the language because its target audience was web authors and other such<br />

"amateurs", among other reasons. [20] The advent <strong>of</strong> Ajax returned JavaScript to the spotlight and brought more<br />

pr<strong>of</strong>essional programming attention. The result was a proliferation <strong>of</strong> comprehensive frameworks and libraries,<br />

improved JavaScript programming practices, and increased usage <strong>of</strong> JavaScript outside <strong>of</strong> web browsers, as seen by<br />

the proliferation <strong>of</strong> server-side JavaScript platforms.<br />

In January 2009 the CommonJS project was founded with the goal <strong>of</strong> specifying a common standard library mainly<br />

for JavaScript development outside the browser. [21]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!