Some of basic things JS used:
- Adding Interactive behaviour to web page: JS allows users to interact with the web pages. We can do almost everything using JS. few examples are,Show or hide more information with the click of a button
- Change the color of a button when the mouse hovers over it
- Slide through a carousel of images on the homepage
- Displaying a timer or count-down on a website
- Playing audio and video in a web page
- Zooming in or zooming out on an image
- Using a drop-down hamburger menu
- Displaying animations
Companies using JS
Node is designed to handle requests and hand off data quickly. It’s asynchronous capabilities. Node is central to Uber’s.
Today whatever using on Twitter fail whale, It is built using Ruby on Rails. Problem faced on speed and maintainability, they decided to change to NodeJS. Node allowed Groupon to rebuild their entire website by everything into individual NodeJS web applications. Now, Groupon is made up of over 20 Node applications, and it moves much faster as a whole. Now they are shifting all their interntional website to NodeJS. It is good move from Groupon.
They thoroughly support NodeJS on the Azure cloud platform. Its one of major features for Azure, and they’ve integrated Visual Studio support for NodeJS.
Microsoft has also developed a version of Node for IoT(Internet Of Things) applications. NodeJS is great of IoT because it’s light weight and efficient.
PayPal uses JS for their frontend of their website from long time, but that is only a beggining. Later they adopted NodeJS. They have decided to use Node on their pages and that version worked out very well, than they chose use it on productive and build all client-facing applications in Node going forward. That means most of what you seeing in your account is running using Node.
PayPal also created n managed their own version of expresion called karnejs
eBay started using Java long time, but they found this is not right solution for their problem, so they shifted to NodeJS.
Node worked so well that eBay not only using for particular service, they began shifting their entire to NodeJS. Most of you seeing in ebay.com by Node. Yes Java is still dealing with DataBases but still have more trust on Node.
Like PayPal, eBay, Netflix started out using Java for just about everything. Netflix’s story is a lot like eBay’s. For a long time, a few years ago, They too ran into Netflix encountered a problem that Java wasn’t the right solution for. Problems with Java’s size and the time it required to develop. They decided to give NodeJS a shot instead.
Over time, Netflix moved away from its more traditional structure into the cloud and started to adopting NodeJS. With Node, Netflix was able to break down pieces of their user interface into individual services. Today, a largely of Netflix interface is running on Node.
Walmart is one of the famouse largest retailers in the world, but the fact is walmart is a tech company, who started with Java used for years. Walmart neeeded something faster and lighter weight for their mobile site. So, they turned to NodeJS.
Slowly Wallmart begin to replace Java with Node. Today whatever you see in walmart.com that is provided by Node. NodeJS was also the ideal choice for other web applications within their marketplaces.
LinkedIn relies on their mobile sites. LinkedIn started using Rails for its mobile site. As with other large Rails applications, it was slow, and it scaled poorly. So they switched to NodeJS to solve their scalling problem.
NodeJS 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.