Difference between Framework and Libraries
Software Development has tricky words. Some Jargon that seems as unreachable when we are starting. Even though is not a game changer understand this difference is a nice to have and in one or two paragraph I’m going to point the ideas that give me some impression that what are the key points in the correct distinction between Framework and Libraries.
In short:
- Library implements a particular function. For example: Numpy, Jquery. – It’s like a model
- Framework is a collection of libraries. For example: Spark, Vue.js. – You have different tools.
- Both are reusable code written by someone else.
Key Ideas:
Framework:
- Deliver faster development of an application.
- Give Templates and best practices.
- Contains large collections of libraries.
Library:
- Rehusable, compiled and tested code (ideally).
- Facilitate automation or augmentation of application.
- Implements functions.
Sources:
- Baeldung: The Difference Between a Framework and a Library
- FreeCodeCamp: The Difference Between a Framework and a Library – To go deepest in the Technical Differences related to the inversion of control
- Stack Overflow: What is the difference between a framework and a library? [closed]