JavaScript

2

Introduction to JavaScript

Most of the Internet applications (most commonly a website or web page) are built using many interoperable languages, hence HTML alone will not be sufficient in making these applications interactive. Therefore HTML incorporates a simple language referred as JavaScript or JScript or JS which probably scrutinize the web applications in most sophisticated manner.




JS is a programming language with direct support to object oriented methodologies. It facilitates inclusion of certain executable data along with it. Hence we can say that, with the usage of JS, a given web page will no longer remains a store house of static data but it can also maintain dynamic data which can interact with the users, dynamically create HTML context and also controls the browsers action.

Advantages

  • JavaScript is supported by most of the web browsers.
  • It provides an easy way of accessing document objects as well as it can manipulate almost all of these objects.
  • It gives attractive animations with a less download time for the multimedia data types.
  • No special plugins are required to use JavaScript.
  • Security is the biggest advantage of JavaScript. Because JavaScript can’t read from/write to the local hard drive and the system. Can’t get a virus directly from JavaScript.

Disadvantages

Theoretically JavaScript looks very beneficial to both users and developers, but practically this is not true. The disadvantages of JavaScript are,

  • A page becomes useless if the script is not working.
  • Most of the web surfers disable their JavaScript support (in browsers) due to the problems associated with broken scripts.
  • Complex scripts take longer starting and running time.
  • Most of the JavaScript depend on the manipulation of DOM’s elements. And, different browsers given different type of accessing to objects.
  • It does not support the standard set of objects.



Web sites can be made dynamic and interactive without using JS. The alternatives are as follows.

  • Python : The language is still progressing in the area of writing A web browser that is written in python already exist. By using this web browser we can run python applets. In next few years, python will boom in the area of client-side scripting.
  • Tcl : The most popular choice for systems programming is TcI. We can easily download a Tcl plug-in from Internet. This is one of the strongest contenders to JavaScript.
  • Perl : Perl is often used for server-side CGI scripting. The reason being, its text manipulation nature. For client-side work Perl is available through Pearlscript (Perl’s subset). Pearlscript can also be used for writing Active server pages. The drawback of Perl is its complexity.
  • VBScript : Browser applications that must run only in Internet explorer, can be built using VBScript. Despite of its platform-specific nature VBScript is only available for Microsoft Windows Operating Systems). It is widely used.
  • Java : Good networked applications can be built by using Java, even though it is not a scripting language. Data validation at client-side, and menus are the benefits of using Java. However, data validation can be very slow.

RELATED TOPICS

Share.

2 Comments

  1. Thanks for you great information.

    Hope you like this articles too about the advantage and disadvantages of JavaScript:
    namasteui.com/advantages-disadvantages-javascript/

    Thanks,
    Sourav Basak
    Namaste UI

  2. Thanks for you valuable information.

    Hope you like this articles too about the advantage and disadvantages of JavaScript:
    namasteui.com/advantages-disadvantages-javascript/

    Thanks,
    Sourav Basak
    Namaste UI

Leave A Reply