Current location - Music Encyclopedia - Chinese History - The development course of JS
The development course of JS
JavaScript is a high-level scripting language belonging to the network, which has been widely used in Web application development, and is often used to add various dynamic functions to web pages to provide users with a smoother and more beautiful browsing effect. Usually JavaScript scripts are embedded in HTML to realize their own functions.

As a front-end basic technology that gives life to web pages, JavaScript can achieve corresponding effects and interactions, and it is one of the indispensable basic configurations for front-end development. Today, let's take a look at the past lives of JavaScript. The specific content includes the birth of JavaScript, language version and changes in application fields. Let everyone have a general understanding of the development history of JavaScript before starting to learn JavaScript.

1, the birth of JavaScript

JavaScript was born in 1995. At that time, its main purpose was to handle some operations that were previously undertaken by the server without input verification. Before JavaScript appeared, form data had to be sent to the server to determine whether the user had not filled in the required fields or entered invalid values. Netscape Navigator hopes to solve this problem through JavaScript. It is absolutely exciting to be able to complete some basic verification tasks at the client in the era when people generally use telephone dial-up to access the Internet. After all, the slow speed of dial-up Internet access makes every data exchange with the server a test of people's patience. This gave birth to JavaScript!

JavaScript was a great success as soon as it was released in February 1995. Netscape then released the version of JavaScript 1. 1 in Netscape Navigator 3. The development of JavaScript has been iterative so far and has made great achievements. However, JavaScript is developed by the company, which is not convenient for other companies to expand their use. At the same time, JavaScript developers are also enriching their own code and choosing to use frameworks to make JavaScript run in standard-compatible, barrier-free web pages.

2. Definition of 2.JavaScript

JavaScript is a programming language that runs on a web browser. This programming language is called scripting. A scripting language is a language executed in a browser. It is a program, not software. Websites built with HTML and CSS can add scripting languages, which will be automatically executed when loading pages, and play an important role in realizing the dynamic effects and interactions of various pages. For example, when shopping on shopping websites, JavaScript is needed for the use of shopping carts and cost estimation. Without JavaScript, the settlement cannot be completed, and all the operations of the shopping cart cannot be realized.

3. Version change of 3.JavaScript language

In order to make JavaScript run in standard-compatible and barrier-free web pages, it is necessary to solve the compatibility problem of JavaScript; Therefore, ECMA, the European computer manufacturers association, took the lead in formulating the JavaScript standard and named it ECMAScript. At this point, the core language ECMAScript of JavaScript came into being. ECMAScript is a programming language standardized by ECMA TC39 Committee, which stipulates the programming grammar and basic core knowledge of JavaScript, and is a set of JavaScript grammar industry standards that all browser manufacturers abide by. The first edition was officially released on 1997. After more than ten years of iterative updating, ECMAScript 8 was released on 20 18. Its functions are unprecedented, and more abundant new functions have been added. The development history of JavaScript language version change is as follows

4. Application fields of 4.JavaScript

After years of development, JavaScript has become one of the most popular and fastest-growing programming languages in modern science and technology, and has also become the favorite of front-end developers. So why is JavaScript so popular? Because JavaScript is versatile and supported by almost all browsers, it is the most popular scripting language on the Internet. As long as you are slightly interested in the front end, you must have heard of "big front end" and "full end". JavaScript fully conforms to this trend. JavaScript can write front-end, back-end, client, and even write various applications and operating systems! The following figure shows the actual functions and fields of JavaScript:

Looking back at the development history of JavaScript, it can run on all browsers of all platforms and on the server side of all major operating systems, which proves the ubiquitous charm of JavaScript.