A library performs specific, well-defined operations.
A framework is a skeleton where the application defines the “meat” of the operation by filling out the skeleton. The skeleton still has code to link up the parts but the most important work is done by the application.
Examples of libraries: Network protocols, compression, image manipulation, string utilities, regular expression evaluation, math. Operations are self-contained.
Examples of frameworks: Web application system, Plug-in manager, GUI system. The framework defines the concept but the application defines the fundamental functionality that end-users care about.
Related Posts:
- What is dependency injection?
- What is an idempotent operation?
- What is a callback function?
- What is ADT? (Abstract Data Type)
- “Parameter” vs “Argument”
- What’s the difference between a method and a function?
- What are bitwise shift (bit-shift) operators and how do they work?
- What is the difference between a deep copy and a shallow copy?
- What is the difference between concurrency and parallelism?
- How Does Modulus Divison Work
- What exactly is GUID? Why and where I should use it?
- What is an invariant?
- Prefer composition over inheritance?
- What are sessions? How do they work?
- Why does cache locality matter for array performance?
- What is a coroutine?
- What does ‘foo’ really mean? [closed]
- Converting EBNF to BNF
- What is an ORM, how does it work, and how should I use one? [closed]
- Converting bytes to megabytes
- What and where are the stack and heap?
- What is tail recursion?
- What is a race condition?
- What’s the difference between passing by reference vs. passing by value?
- What is a loop invariant?
- What is a loop invariant?
- What is localhost 3000?
- What is localhost 3000?
- What is reflection and why is it useful?
- What is the maximum number of weekdays in a year? How would you code it?
- What is a slug?
- What is boilerplate code?
- What exactly is the difference between “pass by reference” in C and in C++?
- What do < and > stand for?
- IOException: The process cannot access the file ‘file path’ because it is being used by another process
- What is JSONP, and why was it created?
- What does it mean if a Python object is “subscriptable” or not?
- What is Bit Masking?
- What does it mean if a Python object is “subscriptable” or not?
- What is the difference between tree depth and height?
- What is the meaning of the term “thread-safe”?
- What is null in Java?
- Calculating a 2D Vector’s Cross Product
- What is stability in sorting algorithms and why is it important?
- What is an “internal error” and how do I fix it?
- Array versus linked-list
- What is a clock cycle and clock speed?
- What is a software framework? [closed]
- Difference between ‘cls’ and ‘self’ in Python classes?
- What is the function of the push / pop instructions used on registers in x86 assembly?
- What is the difference between application server and web server?
- libstdc++-6.dll not found
- OS X Framework Library not loaded: ‘Image not found’
- What is “runtime”?
- Are there dictionaries in php?
- Finding the max/min value in an array of primitives using Java
- What is the difference between memoization and dynamic programming?
- What is the difference between UTF-8 and Unicode?
- What is spaghetti code?
- What is the difference between a web API and a web service?
- What is the meaning of “exclusive” and “inclusive” when describing number ranges?
- what does “nulled script” mean?
- What do Push and Pop mean for Stacks?
- What is tail call optimization?
- What is a “meta component” in the context of bootstrap or as a general web design term?
- What is the difference between a map and a dictionary?
- Definition of a Java Container
- Is there a private messaging UI (inbox, sent, compose) framework for iOS?
- What is meant by diameter of a network?
- What is a good Hash Function?
- What is the most popular general purpose C++ framework?
- What is index.js used for in node.js projects?
- What is runtime in context of Python? What does it consist of?
- ExpressJS vs MeteorJS
- What is a loop invariant?
- What is a class constant?
- What is an anti-pattern?
- Inheritance vs. Aggregation [closed]
- Is there an O(n) integer sorting algorithm?
- Javascript: difference between a statement and an expression?
- Create your own MD5 collisions
- What is the difference between bucket sort and radix sort?
- What’s the difference between a word and byte?
- What is the best regular expression to check if a string is a valid URL?
- Finding all possible combinations of numbers to reach a given sum
- What are MVP and MVC and what is the difference?
- How to check if a library is installed?