Javascript and its Usecases

INTRODUCTION:

JavaScript, often abbreviated as?JS, is a programming language that conforms to the?ECMAScript?specification.JavaScript is?high-level, often?just-in-time compiled, and?multi-paradigm. It has?curly-bracket syntax,?dynamic typing,?prototype-based?object orientation, and?first-class functions.


Alongside?HTML?and?CSS, JavaScript is one of the core technologies of the?World Wide Web.[10]?Over 97% of?websites?use their?client-side?for?web page?behaviour,[11]?often incorporating third-party?libraries.[12]?All major?web browsers?have a dedicated?JavaScript engine?to execute the code on the?user’s device.

As a multi-paradigm?language, JavaScript supports?event-driven,?functional, and?imperative?programming styles. It has?application programming interfaces?(APIs) for working with text, dates,?regular expressions, standard?data structures, and the?Document Object Model?(DOM).

USECASES

There’s no denying that JavaScript is everywhere. Some of the world’s largest tech companies are using JavaScript.Some of them are —


Netflix

Netflix started out using Java for just about everything. They ran into problems with Java’s size and the time it required to develop. Over time, 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 and alleviate stress on their servers. Today, a large portion of Netflix’s interface is running on Node.


Uber

Uber needs to handle loads of data in real-time. They have millions of requests coming in continuously, and that does not just hit on a page. Uber needs to track driver locations, rider locations, and incoming ride requests. It has to seamlessly sort that data and match riders as fast as possible.


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.

Facebook

You’re probably aware that Facebook uses JavaScript. It’s kind of hard to miss. What’s probably not as obvious is exactly how much JavaScript goes into making Facebook and how much Facebook is involved in JavaScript development.


Try disabling JavaScript in your web browser and going to Facebook. The website will actually stop you from logging in because it won’t work without JavaScript.

You may have noticed the way that Facebook loads. Each piece of the page is separate. Facebook has invented its own way of breaking down and delivering sections of JavaScript separately. Oddly, each section of your Facebook page is a collection of independent JavaScript applications.

It doesn’t stop there. Facebook created?React, one of the most popular front end frameworks. Facebook uses React on Facebook.com as well as Instagram and WhatsApp.

JavaScript Is Everywhere!

These are only a few examples, but you can certainly find more. 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.


These companies are among the largest tech companies in the world. Many are also running the largest production deployments of NodeJS. The others are responsible for important parts of the JavaScript ecosystem as a whole.

要查看或添加评论,请登录

Mitul Jain的更多文章

  • K-means Clustering and its real use case in the security domain

    K-means Clustering and its real use case in the security domain

    What is K-means Clustering? Every Machine Learning engineer wants to achieve accurate predictions with their…

  • Computer Vision - Image Processing

    Computer Vision - Image Processing

    Combining Two Images: To combining two images, the horizontal or vertical size of the image should be the same. If we…

  • Confusion M

    Confusion M

    What is Confusion Matrix? Well, confusion matrix is a technique that helps us determine the performance measurement for…

  • Opening Firefox on docker

    Opening Firefox on docker

    Task Description ?? ?? GUI container on the Docker ?? Launch a container on docker in GUI mode ?? Run any GUI software…

  • Deploying Machine Learning Model on Docker

    Deploying Machine Learning Model on Docker

    Hello!! Here’s my Task 1 – Deploy your Machine Learning Model on Docker under the guidance of Vimal Daga sir in the…

社区洞察

其他会员也浏览了