Reading Notes on "Learning Architecture from scratch"

The current work has not yet reached the level of architectural design, but I hope to grasp the company's product design and development process from an overall perspective.

Therefore, start with this document and have some understanding of the basic concepts. The content of this article is mainly based on your own understanding and sorting out. There may be some inaccuracies in setting errors.

1 Basic concepts of architecture

1.1 What is architecture

 

1.2 Explanation of common terms

1.3.1 Architecture and Framework

Architecture: The top-level structure of the software system. The system is organically combined by related individuals. The architecture needs to clarify which individuals the system contains; the individuals in the system need to operate according to certain rules, and the architecture needs to clarify the individual operation and collaboration rules; the top structure is to distinguish the system architecture from the subsystem architecture

Framework: It is a component specification (MVC is a specification), a product that can provide basic functions (Spring MVC is an MVC development framework that provides annotations, security, database connection and other functions in addition to meeting the MVC specification)

1.3.2 Systems and subsystems

System: It is composed of various related individuals and operates according to certain rules to solve problems that cannot be solved by a single individual.

Subsystem: It consists of related individuals and is part of a larger subsystem.

Keywords: association (organic combination between individuals), rules (individuals operate according to specified rules), and capabilities (systems have capabilities that individuals do not have)

1.3.3 Components and modules

Components: logically split the system, the resulting unit is the component, and its purpose is to reuse the unit

Module: The system is split from a physical perspective, and the resulting unit is a module, whose purpose is to separate duties

Components and modules are an integral part of the system, but just split the system from different angles. Taking the student management system as an example, from a logical perspective, it can be divided into "login module", "personal achievement module", etc .; from a physical perspective, it can be divided into "Mysql", "Web server", etc.

1.3 Significance of design architecture

 

1.3 Architecture design principles

 

2 Design architecture and optimization plan

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Published 61 original articles · won praise 2 · Views 7303

Guess you like

Origin blog.csdn.net/hebaojing/article/details/103221354