🔰 Use Cases of JavaScript 🔰

Sunil Sirvi
5 min readJun 26, 2021

What is JavaScript?

JavaScript is a text-based programming language used both on the client-side and server-side that allows you to make web pages interactive. Where HTML and CSS are languages that give structure and style to web pages, JavaScript gives web pages interactive elements that engage a user. Common examples of JavaScript that you might use every day include the search box on Amazon, a news recap video embedded on The New York Times, or refreshing your Twitter feed.

Frameworks in JavaScript :-

  • Angular — Perhaps the most important JS development framework. Provides a Model-View-Controller architecture, and a fairly opinionated approach to rapid development. Developed by Google.
  • Backbone — The main competitor to Backbone. The biggest difference is that Backbone is much less opinionated. Additionally, Backbone was originally abstracted from a Ruby on Rails application, so there are some conveniences in using the two frameworks together.
  • React — Undoubtedly, it is one of the most preferred JS frameworks for building dynamic user interfaces with advanced features. It is used by major brands like Whatsapp, Airbnb, Facebook, Instagram, etc. React Native is an open-source mobile application framework built by Facebook. It is commonly used for rendering native mobile apps that are real and feature-rich.
  • Ember — With its flow of functionality and simplicity, Ember makes app development an easy process. It is well-capable to develop complicated and broad client-side applications.
  • Vue — Vue is a sought-after JS framework for front-end development. It is often referred to as a progressive framework, which means it can adapt to the needs of the developer. Adobe, Alibaba, Grammarly, and Xiaomi are some of the significant organizations that make applications based on Vue.

Advantages of JavaScript :-

  • 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.
  • Websites — Obvious, this is why we invented this language. In websites, it is used to add interactivity to HTML elements.
  • Server Applications — Node.js changed the way we use JavaScript. Now this language is used in building server. Node.js capability to build scalable web apps.
  • Mobile Apps — React Native is used to creating mobile apps with JavaScript.
  • Smartwatch apps — React Native is used to creating mobile apps with JavaScript.
  • Robots and IoT– Yes, you’ve read that right. With a minimal OS, NodeJS can be installed and this means you can use JavaScript environment to code Robots.
  • Johnny-Five — For robotics and IoT Platform
  • Cylon JS — Robotics kit
  • Games — You can use any language to code a game. But with HTML5 canvas and JavaScript as browser-based games will be super cool.

Companies using JavaScript :-

✔Netflix :-

Netflix moved away from its more traditional structure into the cloud and started to introduce NodeJS. With Node, Netflix was able to break down pieces of their user interface into individual services. This more distributed approach was able to speed things up an alleviate stress on their servers. Today, a large portion of Netflix’s interface is running on Node.

✔LinkedIn :-

LinkedIn relies on NodeJS for its mobile site. A few years back, LinkedIn used Rails for its mobile site. As with other other large Rails applications, it was slow, monolithic, and it scaled poorly.

LinkedIn switched over to NodeJS to solve its scaling problems. Node’s asynchronous capabilities allowed the LinkedIn mobile site to perform more quickly than before while using fewer resources. Node also made data sharing and building APIs easier for the LinkedIn developers.

✔Microsoft :-

Microsoft needs to work closely with JavaScript to built its Edge web browser. All browsers need to process and execute JavaScript efficiently, so Microsoft has developed and maintains its own JavaScript engine for Edge. Actually, there has been talk of them creating an alternate version of NodeJS with the Edge engine.

Recently, Microsoft has really embraced NodeJS. They thoroughly support Node on the Azure cloud platform. Its one of Azure’s major features, and they’ve integrated Visual Studio support for Node.

Microsoft has also developed a version of Node for Internet Of Things(IoT) applications. NodeJS is great of IoT because it’s light weight and efficient.

✔PayPal :-

The online payment giant was one of the earliest adopters of NodeJS. During an overhaul of their account overview page, they decided to try building the page in Node at the same time as their usual Java development. The NodeJS version worked out so well, that they chose to use it in production and build all client-facing applications in Node going forward. That means that most of what you see in your account is running on Node.

PayPal even went as far as to create and maintain their own version of Express, called KrakenJS. It’s pretty obvious that they like JavaScript over at PayPal.

Thank you for reading article….!!!!😊

--

--

No responses yet