JavaScript


JavaScript was originally developed by Netscape and is one of the most simple, effective and versatile languages. Also, it is a scripting language commonly used in web development, and in many other environments as well. Even more, JavaScript is a prototype-based, multi-paradigm language, supporting object-oriented, imperative, and functional programming styles.

On the other hand, JavaScript can function as a procedural, as well as an object oriented language, and is often used alongside HTML, CSS and AJAX. JavaScript's syntax is based on ECMAScript and is similar to Java and C, making the language more accessible and easy to learn for developers.

One of the main functions of JavaScript is the ability to interact with HTML source code and add dynamic content on the website. Some of the JavaScript's dynamic capabilities are: dynamic script creation, object introspection, runtime object construction and source code recovery.

Advantages

  • JavaScript saves bandwidth thanks to the fact that is executed on the client side instead of web server
  • It is a relatively easy language - its syntax is based on Java and C and it uses the DOM model which provides prewritten functionality
  • The code is executed on the user's processor and does not need to be processed by the web server
  • Versatile - can be easily mixed with other languages on a variety of applications, and it can be used in any type of Web page
  • Interactive - developers can create dynamic effects, interactions, drop-down menus, webpage text effects, chat rooms, interactive games etc.
  • It has an extensive number of libraries
  • It is supported by most web browsers

Disadvantages

  • JavaScript has security issues - it can be relatively easy to exploit using malicious code
  • Rendering varies - it can render differently depending on the browser, and it is not search engine friendly
  • Standard set of objects are not supported
  • It has no multithreading or multiprocessor capabilities
  • Complex scripts have longer starting and running time

Components

  • Frameworks (jQuery, Backbone.js, Angular.js etc.)
  • Libraries (React, Handlebars etc.)
  • Animations (Velocity.js, Bounce.js etc.)
  • Game Engines (MelonJS, ImpactJS, PandaJS etc.)

Development tools

  • NetBeans
  • Komodo IDE
  • Eclipse
  • Visual Studio 2013

Versions 

  • JavaScript 1.x
  • JavaScript 1.8.1
  • JavaScript 1.8.2
  • JavaScript 1.8.5



Recent posts on our blog
AngularJS – how to write a simple application for listing products
Sep 01, 2016, by AdrianC
In the first article you got to know something about Angular, and now it's time to get underway and see it in action.... read more
Programmers are bound to make an impact on the Romanian administration
Aug 31, 2016, by VladC
The Romanian Government tries to develop a new platform called GovITHub, which is designed to simplify all aspects regarding the Romanian public administration.... read more
Romanian students innovate at Microsoft's Imagine Cup
Jul 14, 2016, by BogdanD
Romanian students, Flavia Oprea, Iulian Mateșică and Cristian Alexandrescu from the Polytechnic University of Bucharest won the Innovation challenge in Microsoft's Imagine Cup competition.... read more
Products  |  Press  |  Site Map  |  Technologies  |  Terms of Use  |  Privacy Policy
© 2017 SBP Romania. All rights reserved.