In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
How JavaScript has become a serious programming language, I believe many inexperienced people do not know what to do about it. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
From the beginning, as a way to make websites beautiful, JavaScript has been transformed into a serious programming language.
JavaScript's humble start began in 1995 and was founded by Brendan Eich, then working for Netscape Communications, in just 10 days. Since then, JavaScript has come a long way from a tool that makes websites beautiful to a serious programming language.
In its early days, JavaScript was considered a visual tool that made websites more interesting and attractive. Languages like Jakarta Server Pages (JSP, formerly known as JavaServer Pages) were used to do the heavy work of rendering web pages, while JavaScript was used to create basic interactions, visual enhancements, and animations.
For a long time, the demarcation line between HTML, CSS and JavaScript is not clear. The front-end development is mainly composed of HTML, CSS and JavaScript, which forms the "multi-layer cake" of standard Web technology.
The "multi-layer cake" of standard network technology (Mozilla developer Network, CC BY-SA 4.0)
HTML and CSS provide structure, format, and style for content. Once the web page wants to do something that goes beyond displaying static content, it is an opportunity for JavaScript to use its talents. Ecma International developed the JavaScript specification, and the World wide Web Consortium World Wide Web Consortium (W3C) developed the HTML and CSS specifications.
How did JavaScript gain a prominent position?
There is a long history behind how JavaScript became the most popular programming language. As early as the 1990s, Java was king, and it was inevitable that people would compare with it. Many engineers think that JavaScript is not a good programming language because it lacks support for object-oriented programming. Although it was not obvious at the time, the object model and functional features of JavaScript appeared in its first version.
After the JavaScript was hastily released in 1995, Netscape submitted it to the European Computer Manufacturers Association (ECMA) International Department of the European Association of computer Manufacturers for standardization. This led to ECMAScript, an JavaScript standard designed to ensure the interoperability of web pages between different Web browsers. ECMAScript 1 was launched in June 1997 and helped advance the standardization of JavaScript.
During this period, PHP and JSP have become popular choices for server-side programming languages. JSP has gained a prominent position as the preferred alternative to the common gateway interface Common Gateway Interface (CGI) because it can embed Java code in HTML. Although it is popular, developers find it unnatural to embed Java in HTML. In addition, even for the simplest text changes on HTML, JSP must go through a time-consuming life cycle. In today's microservice world, JSP-oriented pages are considered technical debt.
PHP works like JSP, but the PHP code is handled as an executable file for the Universal Gateway Interface (CGI). PHP-based Web applications are easier to deploy than JSP-based applications. Overall, using PHP is easier to get started and run. Today, PHP and JavaScript are one of the most popular combinations for creating dynamic Web sites: PHP as server-side script and JavaScript as client-side script.
With the release of jQuery in 2006, there are more and more applications of JavaScript. JQuery is a versatile JavaScript library that simplifies tedious document object model Document Object Model (DOM) management, event handling, and Ajax.
The release of Node.js in 2009 was a turning point in the development of JavaScript. Developers can now write server-side scripts in JavaScript. It was followed by frameworks such as Backbone.js and AngularJS, which were released in 2010. This leads to the concept of full-stack development in a single language.
In 2015, Ecma International released ECMAScript 6 (ES6), which adds important new syntax, including class declarations, to writing complex applications. Other new features include iterators, arrow function expressions, let and const keywords, typed arrays, new collections (mappings, collections, and WeakMap), Promise, template characters for strings, and many other cool features. Later versions continue to add more features to make JavaScript more powerful, streamlined, and reliable.
Summary
In the past 20 years, JavaScript has made great progress. Now most browsers are scrambling to meet compliance, so the latest specifications are released faster.
Depending on your project requirements, there are a number of stable JavaScript frameworks to choose from, including the most popular React, Angular, Vue.js, and so on.
After reading the above, have you mastered how JavaScript has become a serious programming language? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.