Click here to Skip to main content
15,896,467 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more: (untagged)
I know that a library contains functions to accomodate a certian area but how does a framework differ from a library?
Posted

 
Share this answer
 
Quote:
Frameworks contain key distinguishing features that separate them from normal libraries:

inversion of control: In a framework, unlike in libraries or normal user applications, the overall program's flow of control is not dictated by the caller, but by the framework.
default behavior: A framework has a default behavior. This default behavior must be some useful behavior and not a series of no-ops.
extensibility: A framework can be extended by the user usually by selective overriding or specialized by user code to provide specific functionality.
non-modifiable framework code: The framework code, in general, is not supposed to be modified, while accepting user-implemented extensions. In other words, users can extend the framework, but should not modify its code.

refer Software framework[^]
Library vs. Framework?[^]
And Many More Resource from Here [^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900