JavaScript

By   Calendar icon Jul 13, 2020   Level 1 icon

Description:

Here we present the JavaScript language that has long been used to develop web applications in the front end.

Preferencesoft

Tags: JavaScript

JavaScript is a dynamically typed script language that is integrated into all current browsers.
It complements HTML/CSS pages to make them more dynamic.

Initially, JavaScript was used to create special effects on a web page. It is currently used to develop web applications, most often in the front-end part.
Many JavaScript libraries and frameworks have been developed, to facilitate manipulation of DOM objects and to allow developers to create components.

  • jQuery,
  • Jquery UI,
  • Knockout
  • Backbone.js
  • Ember.js,
  • React,
  • AngularJS - Angular
  • Vue.js
  • Ext.js
  • Meteor
  • Mithril
  • Polymer
  • Aurelia

The manipulation of the DOM (Document object model) is generally quite slow, especially for mobile browsers, and as a result, some frameworks have a virtual DOM (in memory) in which manipulations are performed. When certain events are triggered, the DOM update is then made from the virtual DOM.

Another difficulty that complicates the development of JavaScript applications is due to the great heterogeneity of browsers.
Developers should check that their programs work on all browsers, at least on the newest or most used ones.

Finally, despite its apparent simplicity, JavaScript is still a language with objects not quite ordinary and not exactly in line with modern OOP languages.

On the other hand, it is quite difficult to debug because it is not designed to interrupt its execution at the slightest error, but rather to always return a default result, and because it is dynamically typed (which prevents correcting type errors during development).

It has gained new momentum in recent years with Node.js which is not a JavaScript library, but JavaScript execution software based on Chrome's V8 engine.
Node.js can be installed on a server and allows the execution of JavaScript scripts on the server side.

With its npm package manager, Node.js has built up an ecosystem of JavaScript programs that can be used in any environment.


JavaScript