Introduction to SmallSruct 3
What is a Framework?
A framework is a reusable design of all or part of a system, represented by a set of abstract components and methods of interaction between component instances; another definition holds that a framework is an application skeleton that can be customized by application developers. The former is defined from an application perspective while the latter is defined from a purpose perspective.
It can be said that a framework is a reusable design component that stipulates the application architecture, clarifies the dependencies, responsibility distribution and control flow between the entire design and collaborating components, and is expressed as a set of abstract classes and their instances. A method of collaboration between components, which provides context relationships for component reuse. Therefore, large-scale reuse of component libraries also requires a framework.
What is Application Framework?
The concept of application framework is also very simple. It is not a small program that contains component applications, but an underlying service that implements general and complete functions in a certain application field (except for special application parts). Programmers using this framework can start specific system development on the basis that a common function has been implemented. The framework provides a collection of classes with default behavior expected by all applications. Specific applications support application-specific behavior by overriding subclasses (which belong to the framework's default behavior) or assembly objects.
The application framework emphasizes software design reusability and system scalability to shorten the development cycle of large-scale application software systems and improve development quality. Compared with traditional object-oriented reuse technology based on class libraries, application frameworks focus more on software reuse in professional fields. The application framework has domain relevance, and the components are combined according to the framework to generate a runnable system. The larger the granularity of the framework, the more complete the domain knowledge contained in it.
Expand