JAVASCRIPT & INDUSTRY

Bhavna Surendra Latare
3 min readJun 25, 2021

Javascript

JavaScript is a dynamic programming language that’s used for web development, in web applications, for game development, and lots more. It allows you to implement dynamic features on web pages that cannot be done with only HTML and CSS.

The core-client side javascript language allows us to -

  • Store useful values inside variables.
  • Running code in response to certain events occurring on a web page.
  • Performing operations on texts
  • APIs

Application Programming Interfaces (APIs) provide extra superpowers to use in your JavaScript code. APIs are ready-made sets of code building blocks that allow a developer to implement programs that would otherwise be hard or impossible to implement.

They generally fall into two categories.

* Browser APIs are built into your web browser, and are able to expose data from the surrounding computer environment, or do useful complex things.

* Third party APIs are not built into the browser by default, and you generally have to grab their code and information from somewhere on the Web.

Javascript Frame work

Frameworks provide developers with the basic foundation necessary for building JavaScript applications. This saves developers the effort of starting from scratch by utilizing a functional base to get things rolling.

One such Javascript Framework is Node.js.

Node.js is a runtime environment. While JavaScript can be written directly into the web browser, this is not always desirable. This is why Node.js lends the capacity for command-line tools and server-side scripting. This decreases user frustration and increase SEO. It is created for building fast and scalable network applications. Node.js has been a real blessing for giants like Uber and Netflix, since its launch, thanks to the numerous benefits it provides:

  • Extremely comfortable to work with
  • High scalability
  • Executing the code on the server side (on their computers or straight in a browser)
  • Quicker development cycles
  • Lightning fast speed of processing
  • Thriving open-source community

Node.js uplifting Linkedin

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. Now, LinkedIn relies on NodeJS for its mobile site.

After switching to node.js the Linkedin development team realized the advantages.

  1. Much better performance and lower memory overhead than other tested options, running up to 20x faster in some scenarios
  2. Programmers could leverage their JavaScript skills.
  3. Frontend and backend mobile teams could be combined into a single unit.
  4. Servers were cut to 3 from 30. Enough headroom remains to handle 10x current levels of resource utilization.
  5. Development could focus more on application development than firefighting.
  6. 10x reduction in the number of machines for service hosting
  7. Doubled traffic capacity
  8. Much better performance and lowered memory overhead
  9. Enough headroom remains to handle 10x current levels of resource utilization.

Every framework of Javascript has it’s use as per the requirement and use case. While JavaScript is not the only client-side scripting language on the Internet, it was one of the first and it is still the most widely used. Many developers believe that JavaScript is inefficient and finicky, so they have made many improvements to the language over the years. Enterprising programmers have created JavaScript libraries more concise languages constructed from the building blocks of JavaScript that are less complex and can be targeted for specific applications.

Thank you!

--

--

Bhavna Surendra Latare

I am a student passionate about Programming and Development | DSA Enthusiastic | working on ML | exploring Indian Culture