当前位置:网站首页>Software architecture and design (VII) -- interactive architecture
Software architecture and design (VII) -- interactive architecture
2022-07-28 15:44:00 【Liu Yiyi】
Interactive architecture
The main goal of interaction oriented architecture is to separate the interaction between users and data abstraction and business data processing . The interaction oriented software architecture decomposes the system into three main partitions -
Data module - The data module provides data abstraction and all business logic .
Control module - The control module identifies the flow of control and system configuration actions .
View the demo module - The view demonstration module is responsible for the visual or audio presentation of data output , And provide user input interface .
There are two main styles of interaction oriented architecture - Model - View - controller (MVC) And render abstract control (PAC).MVC and PAC Propose three component decomposition , And for interactive applications , Such as having multiple sessions and user interaction Web Applications . Their control and organizational mobility are different .PAC Is an agent-based hierarchy , but MVC There is no clear hierarchy .
Model view controller (MVC)
MVC Decompose a given software application into three interconnected parts , These parts help to separate the internal representation of information from the information presented or received to users .
| modular | function |
| Model | Encapsulate basic data and business logic |
| controller | Respond to user actions and indicate application flow |
| View | Format and present the data from the model to the user . |
Model
The model is MVC A central component of , Directly manage application data , Logic and
边栏推荐
猜你喜欢

MIT pointed out that the public pre training model should not be used indiscriminately

Docker实现Redis Cluster(集群)模式 哈希槽分区进行亿级数据存储

软件架构与设计(八)-----分布式架构

About the pictures inserted in the word document, only the following part is displayed

程序员的自我修养

800V高压系统

Docker容器实现MySQL主从复制

An article about rsocket protocol

EasyExcel复杂表头导出(一对多)

详解.NET的求复杂类型集合的差集、交集、并集
随机推荐
Editor in ArcGIS Pro
FTP file transfer protocol
Samba Server Setup Guide
Easyexcel complex header export (one to many)
10. Implementation of related data accumulation task
Leetcode bracket validity problem
The difference between character array and string
[delete specified number leetcode]
数牍 X Rust,那些不得不说的事
最小堆提升每次排序的效率
Self cultivation of programmers
Qt信号与槽的五种连接方式
爬虫入门(1)——requests(1)
Regular expression (4)
Stateflow logic system modeling
1200 times faster! MIT develops a new generation of drug research and development AI, and suspends the old model
File and directory operations (5)
Framework customization series (I) -- systemui NavigationBar slide back to launcher on the navigation bar
Multithreading
程序员的自我修养