JavaScript!

Libraries vs Frameworks

library is essentially a set of functions that is called by the code, which are organized into classes. Each call to a library does some specified set of operations.
framework possesses some high-level design, with more built-in functions and behaviors. In order to use it you need to insert your own behavior into various places in the framework either by subclassing or by plugging in your own classes. The framework's code then calls your code at these points.


Ok now, JS!

Every day a new JavaScript library is born!

A few years ago, JavaScript (hereafter referred to as JS) was used for web-based front end development. Now, it is not only a front-end development platform, instead, it has numerous dimensions such as back-end development, database language, IoT capable language etc. etc. In addition, like all the other programming languages, frameworks are very common and popular in JS. But, in addition to that, new JS libraries come out very frequently that it is a common norm that "Everyday a new JS library is introduced to the industry". 

Why JS?

  • JS is a powerful, flexible and a portable (platform independent) language which can run on a different scale of devices from smartphones, laptops to Arduino, Raspberry Pi -like small IoT devices. 
  • JS is a lightweight and a single threaded language. 
  • It is easy to learn and sharpen your skills on JS.
Who uses JS?
  • NodeJs
    • LinkedIn
      • The biggest social-networking platform dedicated to business and employment relies on Node.js as their trusted framework. Endorsing their trust, they effectively moved the mobile-app back-end from Ruby on Rails to Node.js in 2016. However, the Node.js development environment was still premature, still, this was a smart move for them.
    •  Uber
      • Uber is a famous platform that connects taxis and customers in need of transportation services through its app. Their app has been engineered by utilizing several Node.js tools in various other programming languages. Uber constantly evolves its tech stack and have introduced many new techs from the very beginning, to improve business efficiency. However, Node.js is still a preliminary aspect of their company’s operations as it makes scaling up of resources a simplistic affair in order to accommodate rising demand for their services.
    • NASA
      • Yes! NASA. NASA uses this technology for its application that is of remarkable importance. Their application is focused on keeping the lives of its astronauts safe during perilous space expeditions. This technological shift came to be when one of their astronauts nearly lost his/her life due to unreliable data hosted in several locations. NASA was presented with a challenge of moving all the data related to the EVA Spacesuits to a single cloud DB to drastically reduce access to timelines. Adapting to Node.js was the ideal choice as it reduced procedural steps from 28 steps to 7 steps.


*image from techastep.com
  • Ionic JS
    • Fitzky
      • Fitzky is a platform for gyms and fitness classes in Sri Lanka. They use Ionic JS to build their Android and iOS apps. They're also working on upgrade their services on the web. Ionic is a hybrid app development platform. It means you can develop apps for both the mobile platforms using a single piece of code. This is the smart way of implementing a business idea rather than first implementing to a platform and then working on another platform like most of the businesses do.

Below are some JS libraries and their uses.

  • ionic.js - Hybrid mobile app development Ionic.js
  • React js - JS library for building User Interfaces React.js
  • PDF.js - Renders PDF documents from HTML5  PDF.js
  • AngularJs - Popular front-end development for web Angular JS
*meme from facebook 

This is my first blog post. This is simple, small and yet a lot to improve.
Please leave your feedback in the comments...! 
Have a nice day!

Comments

Post a Comment

Popular posts from this blog

HTTP Status codes

Node.js