JavaScript Features:
Loose: Its variables do not have to have a definite type
Object properties: Objects in JavaScript map property names to arbitrary property values, which is much like a hash table or associative array, unlike a struct in C or an object in C + + or java.
Inheritance mechanism: The object-oriented inheritance mechanism in JavaScript is prototype-based, much like another self language that is not well known, and is quite different from the inheritance in C + + and Java.
------------------------------------------------------------------------------------------------
Introduction:
1992 Nombas Company developed a kind of embedded scripting language called c--, after feeling that the name is more unlucky, eventually renamed to Scriptease. The idea that this script can be embedded in a Web page will become
An important cornerstone of the Web.
Birth:
1995 at that time in the Netscape company Brandon to solve a problem similar to "validating before submitting data to the server", Netscape teamed up with Sun to develop a scripting language called LiveScript.
For marketing convenience, it was later renamed JavaScript.
later:
Because JavaScript 1.0 was so successful, Microsoft also decided to move into the browser, release IE3.0 and launch a JavaScript clone, called JScript, and also provided its own VBScript
The importance of the standard:
After Microsoft entered, there were 3 different versions of JavaScript available: Netscape's Javascript,ie Jscript,cenvi scriptease
ECMA
In 1997, JavaScript 1.1 was presented as a draft to the European Association of Computer Manufacturers (ECMA), and the 39th Technical Committee (TC39) was appointed to "standardize a common, cross-platform, neutral
Syntax and semantics of the scripting language of the quotient. " TC39, composed of programmers from Netscape, Sun, Microsoft, Borland and other companies interested in scripting, honed ECMA-262, a standard
Defines a new scripting language called ECMAScript.
Agile Microsoft, dull Netscape
Although Netscape developed JavaScript and first submitted it to the ECMA standardization, but because of the plan to rewrite the entire browser engine, Netscape late for a full year to launch the "fully follow the ECMA" specification of the JavaScript1.3.
and Microsoft introduced a "fully follow the ECMA" specification IE4.0 a year ago. This leads to a direct consequence: JScript becomes the de facto standard for JavaScript language.
Development of standards:
In the next few years, the International Organization for Standardization (ISO/IEC) also adopted ECMAScript as the standard (iso/iec-16262). Since then, the Web browser has been trying to
ECMAScript as the basis for JavaScript implementations.
Cottage defeat Original
The fact that JScript becomes the JavaScript language, plus that Windows is tied to IE, is almost total market share, so after 1999 years, all pages are developed based on JScript
, and javascript1.x becomes a poor compatible person.
The decline of Netscape and the rise of Firefox
Netscape in 1998, under the powerful offensive, the overall rout. But a single spark can be a prairie fire. The Mozilla program was created in the same year, Firefox is unmatched in supporting JavaScript,
In the later time, step by step eating ie market, become the world's second largest browser.
Google's ambitions
Google Chrome, also known as Google Browser, is a Google (Google) developed by the open source Web browser, he is a concise page, the speed of browsing, one swoop into the world's third largest
Browser. With the popularity of mobile internet, embedded Android system of tablets and smartphones, in the browser this piece will do a grand.
Apple's strategy:
The Safari browser is the default browser for various Apple products, in Apple all-in-one (IMAC), laptop (MAC), MP4 (iPod), iphone (smartphone), ipad (tablet), and
Both Windows and Linux platforms have a corresponding version. The current market share of the world's four, but with Apple's products continue to deeply rooted, with the trend of hegemony.
Survivors
Opera's global market share, around 2%, has no big companies behind it, but his survival from "browser wars" has great potential.
------------------------------------------------------------------------------------------------
JavaScript Core:
1. Core (ECMAScript)
2. Document Object Model (DOM)
3. Browser object Model (BOM)
JavaScript's past Life