Home > Knowledge > Content
The concept of application framework is also very simple
- Jun 25, 2018 -

A framework is a reusable design of an entire or part of a system, represented by a set of abstract components and methods of interaction between component instances. Another definition is that a framework is an application skeleton that can be customized by application developers. The former is from the application side and the latter is from the purpose of the definition given.

It can be said that a framework is a reusable design component that stipulates the application's architecture, elucidates the dependencies among the entire design, collaboration components, responsibility distribution, and control processes, and is represented by a set of abstract classes and their instances. The method of collaboration, which provides a Context relationship for component reuse. Therefore, large-scale reuse of component libraries also requires a framework.

The framework domain framework approach has largely borrowed from the achievements of hardware technology development. It is a product of the combination of component technology, software architecture research, and application software development. In many cases, the framework usually appears as a component library, but the component library is only an important part of the framework. The key to the framework lies in the interaction mode and control flow mode between the objects in the framework.

Frames are more customizable than components. To some extent, it may be better to think of components and frameworks as two different but cooperating technologies. The framework provides a reusable environment for components, providing a standard way for components to handle errors, exchange data, and activate operations.

The concept of an application framework is also very simple. It is not a small piece of program that contains a component application, but it is an underlying service that implements a general-purpose function (part of a special application) in an application area. Programmers using this framework can begin specific system development on the basis of a common functionality already implemented. The framework provides a set of classes for all applications that expect the default behavior. Specific applications support application-specific behavior by overriding subclasses that belong to the framework's default behavior or assembling objects.