Home  >  Article  >  How to understand the framework

How to understand the framework

藏色散人
藏色散人Original
2020-07-01 10:02:283593browse

A framework is a group of cooperating classes that constitute a reusable design of a specific type of software. The framework stipulates the architecture of the application and defines the overall structure, separation of classes and objects, and the main responsibilities of each part. Class and object collaboration and control flow.

How to understand the framework

Understanding of framework

A framework is a group of collaborative elements that constitute a specific type of software reusable design. kind. The framework specifies the architecture of the application. It defines the overall structure, the separation of classes and objects, the main responsibilities of each part, how classes and objects collaborate, and the control flow.

The framework predefines these design parameters so that application designers or implementers can focus on the specific details of the application itself. A framework documents common design decisions for its application domain. Therefore, frameworks place more emphasis on design reuse, although frameworks often include concrete, ready-to-use subclasses.

Related extension introduction:

Software framework (software framework) usually refers to the specification of software components in order to implement an industry standard or complete a specific basic task. It also refers to the implementation of a certain software. When a component is specified, it is a software product that provides the basic functions required by the specification.

The function of the framework is similar to infrastructure and has nothing to do with specific software applications, but it provides and implements the most basic software architecture and system. Software developers usually implement more complex business applications and business logic based on specific frameworks. Such software applications can run on software systems that support the same framework.

In short, a framework is to formulate a set of specifications or rules (ideas), and everyone (programmers) works under this specification or rules (ideas). In other words, use the stage set by others to write and perform.

The above is the detailed content of How to understand the framework. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn