→ Every time a web page does more than just sit there and display static information for you to look at
→ Displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling video jukeboxes, etc.
- It is lightweight and most commonly used as a part of web pages, whose implementations allow client-side scripts to interact with the user and make dynamic pages.
- It is an interpreted programming language with object-oriented capabilities.
- Server Load: Being client-side reduces the demand on the website server.
- Gives the ability to create rich interfaces.
JS USED FOR …
1. Adding interactive behavior to web pages
-> 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
-> Zooming in or zooming out on an image
Many More ….
2. Creating web and mobile apps
- A few famous examples include Paypal, Linked In, Netflix, and Uber.
3. Building web servers and developing server applications
4. Game development
HOW JS USED ACROSS INDUSTRIES ???
- Finance: 7%
- Advertising and Marketing: 5%
- Education: 5%
- Entertainment: 5%
- Business support and logistics: 4%
- Healthcare: 4%
- Retail: 3%
- Government: 2%
- Manufacturing: 2%
- > Manufacturing Industries use less of everything.
- > Angular was a fairly popular choice across all industries, but strongest in finance. Developers in entertainment were the least likely to use Angular, their strongest preference being for React.
WORLD’S LARGEST TECH COMPANIES USING JS...
- > Microsoft has also developed a version of Node for Internet Of Things(IoT) applications. NodeJS is great for IoT because it’s lightweight and efficient.
- > 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.
- > 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.
- > Facebook created React, one of the most popular front-end frameworks. Facebook uses React on Facebook.com as well as Instagram and WhatsApp.
- > Angular is used most prominently in Google’s DoubleClick advertising platform, but it’s also one of the most popular front-end frameworks available.
- > LinkedIn relies on NodeJS for its mobile site.
- > 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 LinkedIn developers.
^ For instance,
- Backbone.js makes responsive design easier.