JavaScript(history, purpose, usage, benefits, disadvantages) : week 2
JavaScript was born in the offices of Netscape in 1995. Brenden Eich is the father of JavaScript. Those days web was fully static, powered by simple HTML and CSS. Along with the time JS popped up as a front end language, becoming the standard programming language of the web. With the ECMA standardisation JavaScript was opened to a broader audience like Microsoft, etc.
JavaScript brought dynamic features to the web. As in autocomplete, loading new content or data on to the page without reloading the page, Rollover effects and drop down menus, Animating page elements, Playing audio and video and validating input from forms. JavaScript is a Scripting language that can directly added to a html page and it is the only programming language that is understood by web browsers. JavaScript is a client side language. No matter what server side language is used the web site will run perfectly as JavaScript works. JavaScript is the most popular language of the web with 69.8% respondents. JavaScript handles the logic directly in the browser cause it is a client side language.
Nowadays most of the web applications are built using JS. Gmail, Facebook, Twitter, Instagram are some of them. As a example in Facebook Js enables status updates and most user activities. Java Script has frameworks where developers can build their own web apps on them according to their will. Angular, backed by Google, React, backed by FB and Vue. are some of the JS frameworks.
Though the primary use of JavaScript is front end web development it helps back end development too. Node.js helps JS to develop server side code. So Node.js can be used to write both client side and server side code in JS without depending on external web server.
Now JavaScript is also used to develop mobile apps. Using JavaScript on mobile apps opened up new possibilities to improve the performance even more. Take progressive web apps for example. PWA's improve reliability, performance and engagement. Offline navigation is a new functionality, enabled by PWA. Vue.js and React are used to craft PWAs.
JavaScript helps to do API integrations. JS is used to fetch data from other sources and display it on their own site. As an example at Snipcart, the shopping cart is added to user's web site using JS.
JavaScript brings benefits to developers and end users. Faster user experiences are there because of the client side execution of the logic. JS is able to deal with the server in the background without interrupting the user interaction of the front end. JavaScript has brought user interface interactivity to the web. JS helps to develop the most engaging UX. JS helps to produce a good responsive web design. Single code base, combing HTML 5,CSS3 and JS is used to adapt design across multiple browsers and devices. JS is easy to learn. It's syntax is easy and flexible for new comers. frameworks also ease the development to some extent. No compilation needed. JS doesn't need a compiler, the browser interpret JavaScript as it HTML tags. JS is easy to debug and test. JS is platform independent. Any JS enabled browser can understand and interpret JS code. JS is a event based programming language where code segments are executed when a certain event occurs.
Also JavaScript has some potential pitfalls. Crawlability/seo issues of JavaScript is a problem. Too much JavaScript will eventually cause performance issues. Also Dependency hell is a huge problem in JavaScript.
What is coming for JS? Gatsby, Next.js and Nuxt are slowly becoming static site and PWA generators. TypeScript will play a big roll in future. JavaScript will have to deal with new technologies like Artificial intelligence, internet of things etc in future.
JavaScript brought dynamic features to the web. As in autocomplete, loading new content or data on to the page without reloading the page, Rollover effects and drop down menus, Animating page elements, Playing audio and video and validating input from forms. JavaScript is a Scripting language that can directly added to a html page and it is the only programming language that is understood by web browsers. JavaScript is a client side language. No matter what server side language is used the web site will run perfectly as JavaScript works. JavaScript is the most popular language of the web with 69.8% respondents. JavaScript handles the logic directly in the browser cause it is a client side language.
Nowadays most of the web applications are built using JS. Gmail, Facebook, Twitter, Instagram are some of them. As a example in Facebook Js enables status updates and most user activities. Java Script has frameworks where developers can build their own web apps on them according to their will. Angular, backed by Google, React, backed by FB and Vue. are some of the JS frameworks.
Though the primary use of JavaScript is front end web development it helps back end development too. Node.js helps JS to develop server side code. So Node.js can be used to write both client side and server side code in JS without depending on external web server.
Now JavaScript is also used to develop mobile apps. Using JavaScript on mobile apps opened up new possibilities to improve the performance even more. Take progressive web apps for example. PWA's improve reliability, performance and engagement. Offline navigation is a new functionality, enabled by PWA. Vue.js and React are used to craft PWAs.
JavaScript helps to do API integrations. JS is used to fetch data from other sources and display it on their own site. As an example at Snipcart, the shopping cart is added to user's web site using JS.
JavaScript brings benefits to developers and end users. Faster user experiences are there because of the client side execution of the logic. JS is able to deal with the server in the background without interrupting the user interaction of the front end. JavaScript has brought user interface interactivity to the web. JS helps to develop the most engaging UX. JS helps to produce a good responsive web design. Single code base, combing HTML 5,CSS3 and JS is used to adapt design across multiple browsers and devices. JS is easy to learn. It's syntax is easy and flexible for new comers. frameworks also ease the development to some extent. No compilation needed. JS doesn't need a compiler, the browser interpret JavaScript as it HTML tags. JS is easy to debug and test. JS is platform independent. Any JS enabled browser can understand and interpret JS code. JS is a event based programming language where code segments are executed when a certain event occurs.
Also JavaScript has some potential pitfalls. Crawlability/seo issues of JavaScript is a problem. Too much JavaScript will eventually cause performance issues. Also Dependency hell is a huge problem in JavaScript.
What is coming for JS? Gatsby, Next.js and Nuxt are slowly becoming static site and PWA generators. TypeScript will play a big roll in future. JavaScript will have to deal with new technologies like Artificial intelligence, internet of things etc in future.
Comments
Post a Comment