The history of JavaScript

Source: Internet
Author: User

Read a brief History of JavaScript dom, read from the Internet, learning is very deep ah.

First, the history of Netscape (Netscape) is simple:
1993, the National Super Computer Application Center (NCSA), published a browser, named "Mosaic" (splicing, Mosaic), the world's first can display the image of the browser, internet history, a popular web browser, the popularity of the outbreak was popular, The emergence of Mosaic is one of the kindling of the internet boom.

April 4, 1994, the founder of Mark Anderson and Silicon Graphic (SGI, "MOSAIC" or "Silicon Chart"), the company that developed the center, established Jim Clark MOSAIC Corp in California, USA. After the founding of the company, the development team had to completely re-write the browser code because NCSA of the University of Illinois in the United States owned Mosaic's trademark rights and the University of Illinois transferred technology to the telescope Entertainment Company (Spyglass Entertainment).

October 13, 1994, the company developed the browser Mosaic Netscape 0.9 released, although still a beta version, the browser has been a major success, became the most popular browser at the time.

November 14, 1994, in order to avoid and NCSA trademark ownership issues, renamed as Netscape Communications Company (Netscape Communications Corporation). On December 15, the official version of Netscape Browser 1.0 was released and the software was renamed Netscape Navigator (Netscape Navigator). Netscape Navigator is sold in the form of shareware, because the function is added very quickly, so the share is quite high at that time. After a subsequent version of user accumulation, Netscape became the first browser market share.

But it's a veritable browser--you can only browse the page, display hypertext documents, and the browser can't interact with the user. For example, when you log in to a website and enter the user name, click Submit. The browser doesn't know if you typed it or not. Can only be passed to the server to judge. At this point, most Internet users are also connected to the network only via 28.8 kbit/s modems, even when the Web page is constantly becoming larger and more complex. What is more painful to users is that, for simple forms validation, it is necessary to interact with the server multiple times. Imagine that a user fills out a form, clicks the Submit button, waits 30 seconds for processing, and sees a message telling you to forget to fill out a necessary field.

Netscape is eager to solve the problem of browser interaction with users. There are two ways to solve this problem, one is to use existing languages, such as Perl, Python, TCL, scheme, and so on, allowing them to embed directly into a Web page. Another is to invent a new language.
Each of the two options has pros and cons. The first choice, to make full use of the existing code and programmer resources, promotion is relatively easy, the second choice, conducive to the development of a fully applicable language, easy to achieve. In the end of the choice, Netscape internal disputes, management for a moment difficult to make up its mind.

Just then a big thing happened, in 1995 Sun company renamed Oak Language Java, officially launched to the market. Sun's hype promises that the language can be "written once, run Everywhere" (write Once, run Anywhere), which seems likely to dominate the future.


Netscape decided to forge a coalition with sun. Not only does it allow Java programs to run directly in the browser in the form of applets (small programs), it even considers embedding Java directly as a scripting language, just because it makes HTML pages too complex to be abandoned later.
In short, the situation at the time was that the entire management of Netscape was a believer in the Java language, and Sun was fully involved in the Web scripting language
Decision. As a result, JavaScript was later brought to market by Netscape and Sun's two companies, a language named "Java+script" was not accidental.

At this point, the 34-year-old system programmer Brendan Eich debut. In April 1995, Netscape hired him.

The main direction and interest of Brendan Eich is functional programming, and the purpose of Netscape recruiting is to study the possibility of the scheme language as a scripting language for Web pages. Brendan Eich I think so, that after entering the new company, will mainly deal with the scheme language
Just one months later, in May 1995, Netscape made the decision that the future Web scripting language must "look like Java enough", but
is simpler than Java, allowing non-professional web authors to get started quickly. This decision actually excludes Perl, Python, TCL, scheme, and other non-object-oriented programming languages.
Brendan Eich was designated as the designer of this "simplified Java language".
However, he has no interest in Java. In order to meet the company's assigned tasks, he designed the JavaScript in just 10 days.
Because the design time is too short, some of the language details are not sufficiently rigorous, resulting in a long period of time, JavaScript written out of the program chaotic. If Brendan Eich foresee that the future of this language will become the first language of the Internet, there are millions of of learners around the world, will he spend a little more time?
On the whole, his design idea is this:
(1) Learn the basic grammar of C language;
(2) Learn the Java language data type and memory management;
(3) using the scheme language to promote the function to the status of "first Class citizen";
(4) Using the Self language, use the inheritance mechanism based on prototype (prototype).

So, the JavaScript language is actually a mixture of two language styles----(Simplified) functional programming + (Simplified) object-oriented programming. This is determined by Brendan Eich (functional programming) and Netscape (object-oriented programming).
If it weren't for the company's decision, Brendan Eich would never have Java as a prototype for JavaScript design. As a designer, he did not like his work at all:
"I hate it more than I love JavaScript," he said. It is the product of the C language and the self language. The 18th century British writer Dr. Johnson said well: ' Its excellence is not original, its originality is not excellent. ' (the part of is good are not original, and the "and the" are original are not good.) "

The history of JavaScript

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.