当前位置:网站首页>软件架构与设计(七)-----互动架构
软件架构与设计(七)-----互动架构
2022-07-15 17:33:00 【丨刘一丨】
互动架构
面向交互的架构的主要目标是将用户与数据抽象和业务数据处理的交互分开。面向交互的软件架构将系统分解为三个主要分区 -
数据模块 - 数据模块提供数据抽象和所有业务逻辑。
控制模块 - 控制模块识别控制和系统配置动作的流程。
查看演示模块 - 视图演示模块负责数据输出的视觉或音频呈现,并提供用户输入界面。
面向交互的架构有两种主要的风格 - 模型 - 视图 - 控制器(MVC)和呈现抽象控制(PAC)。MVC和PAC提出三个组件分解,并用于交互式应用程序,如具有多个会话和用户交互的Web应用程序。他们的控制和组织流动是不同的。PAC是一种基于代理的层次结构,但MVC没有明确的层次结构。
模型视图控制器(MVC)
MVC将给定的软件应用程序分解成三个互连的部分,这些部分有助于将信息的内部表示与向用户呈现或接受的信息进行分离。
| 模块 | 功能 |
| 模型 | 封装基础数据和业务逻辑 |
| 控制器 | 响应用户操作并指示应用程序流程 |
| 视图 | 格式化并将数据从模型呈现给用户。 |
模型
模型是MVC的一个中心组件,可直接管理应用程序的数据,逻辑和
边栏推荐
- OpenHarmony模块二初分析(2)
- [basic use of oscilloscope] and [introduction to the meaning of each key on the oscilloscope key panel]
- OpenHarmony模块二下文件samgr_server解析(3)
- Parsing of header files under interfaces in module 2 (3)
- Parsing of header file under interfaces in module 2
- 服务端的那些事儿
- Those things about the client
- 滲透測試流程
- [use win10's own remote connection tool] to remotely access and control [another win10 Computer]
- Devsecops R & D security practice - Design
猜你喜欢

Why can MySQL temporary tables have duplicate names?

(高频面试题)计算机网络

客户端那些事儿(2)

Query distance according to longitude and latitude and sort by distance

mysql中出现Unit mysql.service could not be found 的解决方法

Redis distributed lock: what have you experienced from Xiaobai to Dashen?

想到多线程并发就心虚?先来巩固下这些线程基础知识吧!

(Dell Lingyue 7572) after the laptop expands the display, the laptop has no sound

Things about the client (2)

Pytorch中torch.max()函数解析
随机推荐
OpenHarmony模块二下文件samgr_server解析(3)
Everything is available Cassandra -- the fairy database behind Huawei tag
JVM tuning command encyclopedia and common command tools and practical steps
OpenHarmony模块二下文件samgr_server解析(2)
Implement a few simple loaders
模块二interfaces下头文件解析
Openharmony module II parsing of header files under interfaces (9)
OpenHarmony模块二下文件samgr_server解析(5)
Talk about how to write a programmer's resume (help modify your resume)
Amd ryzen 5 7600x 6 core and 4.4ghz'zen 4 'CPU appear in the running sub database
聊聊程序员的简历应该怎么写(帮修改简历)
2022 China mobile maker marathon Internet of things special competition kicks off
Get to know the three modules of openharmony
如何通过psql导入TPC-H数据?
C # trick to get all enumeration values of enumeration
Writing PHP form data to MySQL code
Redis 分布式锁:从小白到大神方案都经历了什么?
局域网攻击与网络设备安全配置
(高频面试题)计算机网络
美团一面面经及详细答案