I know that libraries contain functions for certian fields of work but what is a framework? Is it simply just a collection of libraries?

Votes + Comments
I'm downvoting this, and giving you negative rep, by way of balance and perspective...
3 Years
Discussion Span
Last Post by catalinetu

You can find your answer on wikipedia

In computer programming, a software framework is an abstraction in which software providing generic functionality can be selectively changed by additional user-written code, thus providing application-specific software. A software framework is a universal, reusable software platform to develop software applications, products and solutions. Software frameworks include support programs, compilers, code libraries, tool sets, and application programming interfaces (APIs) that bring together all the different components to enable development of a project or solution.

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.[1]
-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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.