Understanding of architecture and framework

        Framework , namely framework. In fact, it is a semi-finished product of a certain application, which is a set of components for you to choose to complete your own system. Simply put, you use the stage set up by others and you do the performance. Moreover, the framework is generally mature and constantly upgraded software. The so-called framework is an application skeleton customized for application developers; we encapsulate some of the underlying classes, interfaces, etc. that need to be used in this application skeleton, and then we based on the actual requirements on the basis of this underlying framework, and then Carry out secondary development, rewrite and add files/codes, etc., and finally complete the development goals. The simplest and most intuitive understanding is that a project we create, or a web application, can be understood as a framework.

        Architecture is also commonly referred to as software architecture. Architecture generally includes three parts: components, used to describe calculations; connectors, used to describe the connecting parts of components; configuration, which combines components and connectors into one organic overall. Architecture can be understood as splitting the needs of customers, abstracting out different components, different abstract components complete different functions, partial to design a sketch; an architecture can contain multiple frameworks and multiple design patterns, the framework includes them The rules of communication and invocation; different frameworks and design patterns cooperate with each other in the same architecture system, each perform its own duties, and finally complete the requirements.

 

        The difference and connection between architecture and framework are as follows:

 

1. Different forms of presentation. The presentation form of the framework is a design specification, and the framework is the program code.

2. The purpose is different. The primary purpose of the framework is mostly to guide the implementation and development of a software system; the primary purpose of the framework is to reuse. Therefore, a framework can have its own structure to guide the development of the framework, and vice versa.

Guess you like

Origin blog.csdn.net/weixin_44684272/article/details/112750939