The History of JavaScript [INFOGRAPHIC]

JavaScript was created by Brendan Eich, a Netscape Communications Corporation programmer, in September 1995. It took Eich only 10 days to develop the scripting language which was then known as Mocha.

 

 

When it was first delivered in 1995, it was made for Netscape Navigator and quickly became known as LiveScript. Later on, the name was changed to JavaScript to reflect Netscape’s support of Java within its browser. While this definitely sounds confusing (and yes, it confuses people to this day!), this was then said to be used as a “marketing tactic” to connect a brand new language (JavaScript) to a popular language at the time (Java), regardless of that JavaScript and Java have almost nothing to do with each other.

 

The way Eich saw it, Java was used by higher-end programmers and could be seen as a “component language”. Eich created JavaScript to fill the need for a “glue language” to be used by informal programmers and designers. This allowed programmers to use JavaScript to put together components and automate interactions.

 

At this point in our story, there were two dominating web browsers: Netscape Navigator (with JavaScript) and Internet Explorer (with Jscript). And by the time the browser world shifted and Internet Explorer became the dominant browser, JavaScript evolved into the endorsed standard for writing interactive processing run in a web browser.

 

By 1996, JavaScript’s importance grew so much that it was handed over to an international standards scripting language body called ECMA (European Computer Manufacturers Association) which, to this day, is responsible for the development and upkeep of this language. As a result, the scripting language was officially given the name ‘ECMAScript’ (or ‘ECMA-262’), however people still call it JavaScript.

 

ECMA standards process runs in cycles – ECMAScript 2 was released in 1998, and ECMAScript 3 was released in 1999 (which evolved into what is today’s modern JavaScript). Even though Microsoft proceeded to implement some of the proposals in their JScript language, it became clear that Microsoft would not implement JavaScript in Internet Explorer.

 

In 2005, Eich and Mozilla joined ECMA to assist with E4X (ECMA-357), leading to a collaboration with Macromedia (acquired by Adobe) who were working to implement E4X in ActionScript 3. The goal with this collaboration was to standardize what was in AS3 and to implement it within SpiderMonkey. As a result, Adobe released Tamarin, an open course project originating from AVM2.

 

Simultaneously, open source and developer communities were also working to revolutionize JavaScript and what could be done with it, and the community’s impact peaked with a paper released in 2005 by Jesse James Garrett  which described a set of technologies which JavaScript supported as a backbone and where he created the term ‘Ajax’. This paper resulted in a surge of developers gravitating towards JavaScript and the open source communities and libraries around it. Additionally, jQuery, Prototype and Dojo were among the new libraries released.

 

The advantage of Ajax returned JavaScript to the spotlight and brought more professional programming attention. The result was a proliferation of comprehensive frameworks and libraries, improved JavaScript programming practices, and increased usage of JavaScript outside web browsers, as seen by the proliferation of server-side JavaScript platforms.

 

In 2008, the many involved parties came together in Oslo, which resulted in the agreement to drive the language towards using an agenda known as Harmony (EcmaScript 6).

 

In January 2009, the CommonJS project was founded with the goal of specifying a common standard library mainly for JavaScript development outside the browser. With the rise of single-page applications and JavaScript-heavy sites, it is increasingly being used as a compile target for source-to-source compilers from both dynamic languages and static languages.

 

By 2016, statistics showed that about 92% of all websites use JavaScript – this includes some of the world’s biggest websites such as Google and Facebook. And thanks to JavaScript, elements that make such websites what they are today are possible. For example, without JavaScript we wouldn’t have the real-time notifications that we have grown accustomed to seeing today.

 

Today, JavaScript is still everywhere – it’s the most commonly used client-side scripting language. JavaScript is written into HTML documents and enables interactions with web pages in many unique ways. For example, thanks to JavaScript we can automatically schedule appointments and play online games. Furthermore, new developments, such as Node.js, allow the use of JavaScript on server-side while APIs, such as HTML5, allow the control of user media and other device features.

 

But this is where it can get (potentially) dangerous – as with the wild expansion of JavaScript comes a new turf for hackers to play on. Secure coding best practices are essential for all development and scripting languages – for more information on secure coding for JavaScript, click here.

 

 

Viewing on a mobile? Click the infographic to enlarge.

The History of JavaScript

The following two tabs change content below.

Arden Rubens

Social Media Manager & Content Writer at Checkmarx
Arden is the social media manager and a content writer at Checkmarx. Her blogs focus on cyber security trends and the latest developments in the world of AppSec.
She aims to educate and inspire developers, security professionals, and organizations to find the best defense against online threats.

Latest posts by Arden Rubens (see all)

Stay Connected

Sign up today & never miss an update from the Checkmarx blog



This is a Security Bloggers Network syndicated blog post authored by Arden Rubens. Read the original post at: Blog – Checkmarx