Usecase of Javascript

JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented capabilities. JavaScript was first known as LiveScript, but Netscape changed its name to JavaScript, possibly because of the excitement being generated by Java.

Main reasons to use javascripts are:

1)Javascript is lightweight , interpreted programming language.

2)It is mainly used for network-centric applications.

3)Can be easily integrated with HTML.

4)It’s open source and cross-platform.

Advantages of Javascript:

  1. Less server interaction
  2. Immediate feedback to the visitors
  3. Increased interactivity
  4. Richer interfaces

JavaScript provides lots of functionality for development . It has great community support . It can be used in many fields. Here are some examples of uses of JavaScript.

1.Web development-

JavaScript is mainly used and known for web development. along with rich community support and open source it has many usefully frameworks for web development like node js , react js , angular js , etc. It makes JavaScript used to become full stack developer.

2. Web applications-

Along with web developement using javascript frameworks using those frameworks it can be used for making user friendly web applications.With technology browsers and personal computers have improved to the extent that a language was required to create robust web applications. When a user explores a map in Google Maps then the user just needs to click and drag the mouse. All detailed view is visible by just a click. This is possible due to JavaScript. It interacts with the browser without sending messages to and fro to the servers. JavaScript uses Application Programming Interfaces(APIs) that provide extra powers to the code.

3. Games

Along with web development and web applications , javascript is also used for game developement.The combination of JavaScript and HTML5 makes JavaScript popular in games development as well. It provides the Ease JS library which provides simple solutions for working with rich graphics. It also has an API that is familiar to all flash developers with a hierarchical display list. A user can create a Stage and it will render the display list to its target canvas. Ease JS also has 2D bitmaps called Sprites which are drawn directly to render the target for transformations.

This 3 are main widely used fields of JavaScript. It can be used also for presentations , server applications , web servers , Art , smartwatch applications , mobile applications , flying robot and also in many other fields. This all things makes JavaScripts more popular and useful language.

That’s it for this article thanks for reading.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store