JavaScript And its Use-cases

Aman Dev Verma
4 min readJun 20, 2021

What is 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 scripts 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. JavaScript made its first appearance in Netscape 2.0 in 1995 with the name LiveScript. The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and other web browsers.

Advantages of JavaScript
The merits of using JavaScript are −
Less server interaction − You can validate user input before sending the page off to the server. This saves server traffic, which means less load on your server.
Immediate feedback to the visitors − They don’t have to wait for a page reload to see if they have forgotten to enter something.
Increased interactivity − You can create interfaces that react when the user hovers over them with a mouse or activates them via the keyboard.
Richer interfaces − You can use JavaScript to include such items as drag-and-drop components and sliders to give a Rich Interface to your site visitors.

These companies may have different reasons for using Node.js but they all concluded that Node.js was worth it.

1. LinkedIn

LinkedIn is the social network for professional connections. It is best suited for people looking to make serious career moves who want to get noticed by relevant companies.
In the same vein, companies looking for competitive candidates for open positions use LinkedIn.
LinkedIn switched from Ruby on Rails to Node.js in late 2011. This was mainly because Linkedin developers wanted to optimize their mobile app where now everything is written entirely in Node.js.
They were able to drastically cut down on server resources and the app is said to run 20 times faster than its predecessor. HTML5 was also a big factor in LinkedIn’s mobile app development.

2. Uber

Uber is a pseudo taxi service for people who need to get somewhere fast but are appalled by the inflated prices of a yellow cab.
The people who work for Uber are regular joes who must go through background checks.
Of the companies that use Node.js, Uber was one of the first to use the framework to its fullest extent by building the bulk of the Uber platform in Node.js.
There are three main reasons why Uber chose Node.js: ease of error-checking; fast processing speeds; and continuous development thanks to the open-source community.

3. Trello

Trello is a collaborative online tool that businesses use to organize projects and ideas using virtual boards.
The typical Trello dashboard can tell its user what is being worked on, who’s working on it, and what step the project is on in the development process.
The server-side of Trello uses Node.js. Trello and its users need to have immediate updates, and Node.js can hold many open connections at once.
The Trello team also appreciates the many libraries of Node.js and its functionality for single-page apps.

4. Walmart

Walmart is a large American retail company operating several grocery and department stores across the world.
As one of the companies that use Node.js, Walmart relies on the framework for its UIs and as an orchestration layer to create application programming interfaces (APIs) for its various apps.
Orchestration layers permit developers to integrate multiple applications or services. In essence, Walmart app users can use one platform to access several distinct functions.

--

--