what is the difference between library and framework?

difference between library and framework

Frameworks and libraries are code written by programmers that is used to help solve common problems.

Is it difference between them?

difference between library and framework


You do not need to write code from the beginning to find the last string. You can find a library that has a method called findLastIndex (char) and call it immediately by calling the characters whose position you should see as a parameter.

difference between library framework


difference framework library

A framework is a skeleton that includes pre-written code to help developers create high-quality applications. Several examples include plugin manager, web application framework, and GUI system. Frameworks offer something more general and reusable than libraries designed to solve unique problems or add specific functionality to a program. Anything you use to create an application can be used in a framework.

Examples: Angular, Vue

Difference between library and framework

difference between library and framework

The first notable distinction between framework and library is who manages the implementation process.
When using a code library, a developer can usually use it whenever he or she feels it is necessary.

In most cases, a framework requires that the developer be fully absorbed in its workflow.
As a result, it sometimes seems that the framework controls the creation process rather than the developer.

This is control inversion! This is usually summarized as following:

  • Your Code Calls a Library
  • A Framework Calls Your Code


There are other minor differences between a library and a framework, but the inversion of the control property, which determines who controls the creation process, is most important.

what is the difference between library and framework?

Leave a Reply

Your email address will not be published. Required fields are marked *