Framework vs Library

Framework vs Library

Framework vs Library

·

1 min read

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