Skip to main content

Introduction to the JavaScript language

In this introduction to the JavaScript language we discover one of the programming languages that has changed the concept of understanding the Web. The added value of JavaScript to the HTML code is to make the Web page dynamic in its interactions with the user. JavaScript is a client-side web programming language. Web 2.0 was born with the JavaScript language.

The advantages of the JavaScript

JavaScript or "JS" in its abbreviated form; is the most widely used client-side scripting language on the web.
The advantage of the JavaScript is that it can be interpreted by almost all browsers; while what has allowed a strong expansion is the availability of many frameworks and libraries that can be easily integrated into scripts.
The language is unique in its kind for data exchange thanks to the asynchronous AJAX (Asynchronous JavaScript and XML) functions that allow you to interact with users without reloading web pages and to exchange data in JSON (JavaScript Object Notation) format.

Introduction to JavaScript language

JavaScript is a scripting language that must be inserted between the markers of an HTML file and allows us to interact with the elements of the DOM in the Browser; it can also be called externally like CSS style sheets. With JavaScript we can:
  • Send asynchronous requests to the server without reloading the web page.
  • Make calculations in real time.
  • Change the graphic aspects of a page in run time.
  • Check that the data is correct before sending to the server.
  • Animate the elements that make up a page.
Of course these are just some of the things you can do in JavaScript. The difference is that compared to other "server side" programming languages such as PHP; everything is done without the code first having to be sent to the server to be processed.

Brief historical references

It was born as (Live Script) and then later rethought as JavaScript; in 1995 by Netscape in version 2.0 for the Browser.
In 1997 the European Computer Manufacturers Association released ECMA-262, an extension of JavaScript to be processed on the server side; modeled on the basis of the JavaScript language.

Rebirth of JavaScript

The success and affirmation of the JavaScript language among those who have made the history of information technology has been put at risk with the release of technology (Flash, ActiveX and Java Applets); before rising from its ashes with AJAX and JSON.

Introduction to the JavaScript language
Ranking of the JavaScript programming languages

Learn JavaScript

After this brief introduction to the JavaScript language it is easy to understand the future prospect of convenience and immediately start a course of study.

Comments

Popular posts from this blog

Learn to use the computer

Many people use the PC every day to connect to the network and to work but without knowing what the computer is and wondering how this is possible. We put a computer to work every time we buy with a credit card, withdraw from an ATM, pay a postal order, buy a train ticket, play video games and many other things. Understanding how the PC works inside is too much but starting from its components and the origins of  IT is already a good start. Learn to use the computer Basic computer components The computer is made up of several electronic components on printed circuits that interact with each other via micro pulses; if you want to learn how to use the computer, the main components of a PC are: A central processing unit (CPU); the "processor" used to process active processes on the data before outgoing transmission. RAM memories (random access memory) in which the bytes for processing are loaded; it is the dynamic memory of the computer and it is volatile; A graphics processing...

How to insert JavaScript into web pages

You have learned everything there is to know about HTML and CSS to start building your static website and now you would like to make it dynamic but you don't know how to insert JavaScript into web pages; right? Don't worry! Inserting the scripts into html files is really a breeze. If you read this article, in the next five minutes you will discover all the methods for inserting JavaScript into html files. How to insert JavaScript into HTML file JavaScript need HTML file to work.  Like CSS all methods of inserting JavaScript into a Web Page can be divided into two sections; add the scripts inside the TAG of  HTML file or by calling them externally. In detail we can insert JavaScript: Directly into Body of the HTML file. In the Head Tag and recall it in the body. With a relative or absolute external reference. Insert JavaScript into HTML file We will see an example of how to insert JavaScript shortly but first let's focus on when it is useful to do an explicit or implicit ...