JavaScript @ Industry-Case-Study

Yagyandatta Murmu
5 min readJun 15, 2021

Everything that can be written in javascript will be written in javascript” -Jeff Atwood

What is javascript?

Javascript is the programming language meant to be embedded directly into web pages. so it was meant to be very easily used because everyone is creating a webpage now. javascript has the approachability to create animation by some simple code. It is s a lightweight, interpreted, object-oriented language.

JavaScript is a dynamic scripting language used to develop websites. HTML and CSS give a website structure and style. JavaScript lets you add functionality and behaviors to your website, allowing your website’s visitors to interact with content in many imaginative ways.

Reasons to use javascript?

Javascript is the de facto language of the web, meaning your browser has it, and you can do all sorts of stuff to/in your browser without the pain of setting up environments and code editors, downloading compilers, and learning how to use them and whatnot. This makes it the biggest reason why one should learn Javascript. It’s the most used and popular programming language in the world, making it a programmer’s great choice.

Biggest Advantages

  • A single stack for frontend and backend.
  • Simple interface with thorough documentation.
  • Lends itself to fast prototyping and quick iteration.
  • Asynchronous, nimble, flexible.
  • Avoid concurrency challenges.
  • Increasingly mature module ecosystem.
  • Today we only use Node.js for web applications.

So is it hard to learn?

JavaScript is actually one of the easier programming languages to start with. In fact, there are several resources available to help you learn it with ease. Part of the reason it’s easy to learn is that it doesn’t have a huge set of rules to follow. It’s extremely flexible and you don’t need to set up an environment to run it. Just open any browser, open the dev tool,s and create a new snippet and you’re ready to go.

MDN, which is the primary place to go for JavaScript reference, is one of the best places for documentation on any language I’ve seen. It really is laid out well, has decent examples, tells you what’s compatible, offers suggestions on other things you can use, and often lets you play around with examples right there. It is easy to learn if you focus on the basics of the language. However, the real question is whether it’s easy to advance beyond the basics.

Most popular and useful javascript frameworks,

  1. React JS: It is one of the most popular open-source JavaScript libraries, which is used to create front-end user interfaces. Obviously, It is not a full-fledged framework like its rivals however, it fulfills all the application development requirements. It was developed by Facebook in 2011 and it became open source in 2013. Initially, it used to be known as “FaxJS” and Facebook implement it to rework its Newsfeed feature.
  2. Angular 2: Responsive, Modern, and Enterprise-Level Front-end Development Tool. Angular, powered by Google is one such JavaScript framework that won developers’ hearts in a very short time. The journey from AngularJS to ‘Angular v2 and above’ captured the worldwide attention of developers, entrepreneurs, organizations, and industrialists.
  3. Vue JS: It is an open-source model–view–ViewModel front-end JavaScript framework for building user interfaces and single-page applications. It was created by Evan You, which is extremely lightweight and used to design highly creative and interactive UI and high-performance web and mobile applications.

CASE STUDY ON JAVASCRIPT @ UBER

Uber is an American technology company, headquartered in San Francisco, CA. Its services include a two-sided marketplace of drivers(supply) and riders(demand). All of the different kind of rides that Uber offers is a way to provide more options to add supply and demand.

The company is doubling in size every 6 months, operates in 6 continents, 68 countries, 633 cities worldwide. Since its launch in 2012, Uber has become one of the most recognized alternatives to a traditional taxi. Therefore, Uber needs a platform that will keep running no matter what.

Their app connects driver-partners and riders, thus, it has to process an enormous amount of information at a fast-growing scale. Uber chose Node.js to build its massive matching system due to its ability to keep up with the pace of Uber’s huge business needs and enhanced data processing capabilities.

Uber built its interpersonal system between drivers and passengers with Node.js, due to its fast response capabilities and massive power to process requests, along with the welcome ease and ability to have a distributed architecture.

Benefits of Node.js for Uber,

  • Quick and reliable processing of extreme amount of data
  • Elimination of errors without the need to restart
  • Quick deployment of the new code
  • Strong open source community that constantly develops new solution

The core of the uber web tech stack is built on top of Node.js, which has a large and vibrant community of web engineers. Node.js allows them to share JavaScript code between client and server to create universal (isomorphic) web applications. Uber uses Browserify for its client-side bundling because of its Node.js-style module requirements.

Uber base web server, Bedrock, is built on top of the widely popular web framework Express.js, which has a set of default middleware to provide security, internationalization, and other User-specific pieces that handle infrastructure integration

All of that plays to NodeJS’s and JavaScript’s strengths. Node is designed to handle requests and handoff data quickly. Its asynchronous capabilities are a huge part of that. Node is central to Uber’s user-facing stack for just that reason.

So much of the web runs on JavaScript, it’d be much harder to find a company that doesn’t use JavaScript in some way. Some other companies like Microsoft, PayPal, Netflix, Groupon, Facebook, eBay, Walmart, and LinkedIn also using javascript.

Thanks!

--

--

Yagyandatta Murmu

Devops || MlOps || Flutter || Web Development || PYTHON || Data Science || AWS cloud || GCP || Azure