What is the practical definition of a software / programming framework?

The Wikipedia article seems too verbose.

I understand structure as a well-developed set of libraries and tools. The Qt framework provides a set of libraries / tools for cross-platform graphical interfaces. The cocoa frame does the same for the Mac.

What is the practical definition of a software framework?

+3
source share
3 answers

If you determine the general structure of the program yourself, but use pre-built building blocks and primitives for some operations that you use in the library.

, , , .

+6

.

, , , (, - HTML).

+1

, , - , . ( ):

, , , . - , , API, , . :

  • - , , . [1]
  • default behavior - the structure has a default. This default behavior should be a useful behavior, not a series of no-ops.
  • extensibility - the structure can be extended by the user, usually selective redefinition or specialized by the user code, Functionality
  • non-modifiable frame code - the frame code is generally not allowed to change. Users can expand the scope, but not change its code.
0
source

Source: https://habr.com/ru/post/1739708/


All Articles