October 7, 2024

JavaScript

JavaScript or JS is an object oriented programming language that is commonly used for scripting interactive behavior on web pages. It is lightweight and allows us to build rich internet applications. This section covers the basic concepts of JavaScript, simple introduction to JavaScript. Summary of the article:

  • What is JavaScript?
  • History of JavaScript
  • How is JavaScript different from Java?
js

What is JavaScript?
Java Script is a client side scripting language. It is Object Oriented Programming or OOP scripting language. Now all modern HTML pages are using JavaScript. It is also being used in game development, server-side programming, and desktop and mobile applications.
Its syntax was powered by C language. It copies many names and naming conventions from Java, but the two languages are different.

History of JavaScript
At first JavaScript was developed by Brendan Eich at Netscape Communications Corporation in 1995. Today it is a trademark of Oracle Corporation. It is used under license for technology invented and implemented by Mozilla Foundation and Netscape Communications.

How is JavaScript different from Java?
The JavaScript is developed by Netscape, Inc. It is not part of the Java platform. The differences between Java and JavaScript:

  • Java is an OOP programming language but Java Script is an OOP scripting language.
  • Java can create applets or stand-alone applications but JavaScript can’t.
  • Java creates applications that run in a virtual machine or browser but JavaScript code is run on a browser only.
  • Java code needs to be compiled but JavaScript codes are all in text.
  • They require different plug-ins.

JavaScript is widely used in web applications. Many framework, library are developed based on JavaScript. It has some drawbacks also. Some versions of web browser may not support JavaScript. That’s why we should remember that.

Rashedul Alam

I am a software engineer/architect, technology enthusiast, technology coach, blogger, travel photographer. I like to share my knowledge and technical stuff with others.

View all posts by Rashedul Alam →

15 thoughts on “JavaScript

  1. We can use js in server site if we use node.js
    by the way your differences between Java and JavaScript is good.
    Thanks.

  2. Pingback: Ajax | Cybarlab

Leave a Reply

Your email address will not be published. Required fields are marked *