Photo by Lautaro Andreani on Unsplash

What is the definition of Framework and Library?

I didn’t find any exact definition of what is a framework and what is a library But there are some features those help to understand about framework and library.

Library:

  • A library is a collection of prewritten code that can be used to simplify tasks.
  • We call Libray to do a particular task
  • Your code > Library > Output
  • Reusable code
  • It’s under your control
  • It is easy to replace a library with another library.
  • ReactJS, Jquery, Three.js

Framework:

  • A Framework is a collection of Library
  • But a Framework call library to do the task
  • Your code > framework > library > output
  • Ready to use
  • Not in your control
  • Frameworks are difficult to replace
  • Angular, Django, NodeJS

Connect me on Instagram: Rafi Kadir

--

--

Like other programming languages, Javascript has some data types. Every we use those data types in our code.

  1. String type: string type data allows write a character on a single quote or double quote. For Example “Javascript”.
  2. Number: Numbers allow write Integer or floating numbers. We can write 10 or 10.25. We should not define that number as integer or float.
  3. Boolean: Its mean condition either true neither false.
  4. Object: Object help to store data collections. There are some object like
  • Function
  • Array
  • Date
  • RegExp
Photo by Cookie the Pom on Unsplash

--

--

Rafi kadir

Rafi kadir

MERN Stack Developer | Love Front End Development | JavaScript | ReactJS