VANILLA JAVASCRIPT






 VANILLA JAVASCRIPT

What is VanillaJS? Is that anything like a framework or library so that we can import and use it? 


VanillaJs is just plain Javascript without using any additional libraries.  On the other hand,it  can be thought of as a scripting language that doesn't set any rules about how data can be defined, or how the UI can be changed. That makes apps written without these libraries more freeform and customizable.


The ability to speak exactly is intimately related to the ability to know exactly”. To get well versed in JS Frameworks, we need to locate our foundation really well.


Computer software, and sometimes also other computing-related systems like computer hardware or algorithms, are called vanilla when not customized from their original form, meaning that they are used without any customization or updates applied to them. So Vanilla often refers to pure or plain.


JavaScript is now the programming language for the web. Therefore, understanding its core engineering principles is paramount if you want to build yourself a decent web career, especially if you're aiming for the front of the pack.


Some of the following websites are currently using vanilla JavaScript,


  1. Google

  2. Facebook

  3. PayPal

  4. YouTube

  5. Yahoo


Why should we learn VanillaJS when there are other libraries and frameworks?


As a novice, we might think that other libraries would really reduce the work. But in the beginning, we might definitely create a sample or small  websites.In this case, if we use frameworks or libraries, those will reduce the performance of our website. Some  reasons are listed out here, so that you can get clearly.


  1. Web performance:


HTML and CSS files are available to use only when they’re downloaded. Whereas VanillaJS code needs to be compiled and parsed. And moreover VanillaJS has a file size of utmost 50kb which impacts on web performance.


  1. Developer friendly:


            It provides a great user-friendly developing experience. While developing an application or website using JS, a developer just needs to open the text editor and can start coding. It just avoids the complicated or slightly loaded works like npm install, compilation steps etc.



  1. Using other frameworks and libraries:

By using PlainJs or VanillaJS, we can work with other frameworks or libraries. It makes the developer work simple.


  1. Client load:


Since we all know that the execution of the JavaScript is done on the client-side, it reduces the overall demand for server use. Also, the simple application doesn't require the involvement of the server at all. This enhances the loading of the web page. 


               If you enjoyed this  post, share it with a friend! 🤍

Comments

Popular posts from this blog

MULTIMEDIA

Exploring The Hidden Internet

SKINPUT TECHNOLOGY