当前位置:网站首页>Differences and relations between three-tier architecture and MVC
Differences and relations between three-tier architecture and MVC
2022-06-13 04:05:00 【Cavewang】
Three tier architecture and MVC The difference and connection

MVC yes Model-View-Controller, Strictly speaking, the three together will be in the three-tier architecture UI layer , in other words ,MVC In the three-tier architecture UI The layer moves forward again ⾏ Differentiated , Divided into controllers 、 View 、 The entity has three parts , Controller complete ⻚⾯ Logic , To communicate with a boundary through an entity ⾯ Layer completes the call ;⽽C Layers are directly related to BLL Into the ⾏ dialogue .
MVC It can be one of the three layers ⼀ Presentation layer framework , Belong to the performance layer . Three floors and mvc Can coexist .
The three layers are divided based on business logic ,⽽MVC Is based on ⻚⾯ Come to share .
MVC The main ⽤ In the presentation layer ,3 Layer main ⽤ It depends on the architecture ,3 layer ⼀ Generally, it is the presentation layer 、 Middle layer 、 The data layer , The performance layer ⼜ Can be divided into M、V、C,(Model View Controller) Model - View - controller
MVC It's the mode of expression (Presentation Pattern)
Three tier architecture is a typical architecture pattern (Architecture Pattern)
summary :
The hierarchical mode of three-tier architecture is a typical up-down relationship , The top depends on the bottom . but MVC As a mode of expression, there is no up-down relationship ,
⽽ It's a collaborative relationship . Even if MVC As an architectural pattern , It's not a hierarchical model .MVC And the three-tier architecture basically has no choice ⽐ sex , yes
Should be ⽤ Technology in different fields .
边栏推荐
- Advanced Mathematics (Seventh Edition) Tongji University exercises 1-3 personal solutions
- 1.4.2 Capital Market Theroy
- 微信扫描二维码无法下载文件的解决办法
- [MySQL] index and transaction
- Lambda终结操作reduce归并
- 10 minutes to thoroughly understand how to configure sub domain names to deploy multiple projects
- Interpretation of usb-if bc1.2 charging protocol
- [test development] installation of test management tool Zen path
- Understand the pseudo static configuration to solve the 404 problem of refreshing the page of the deployment project
- 十億數據量 判斷元素是否存在
猜你喜欢

单片机:PCF8591 应用程序

1-72 convert string to decimal integer

【LeetCode】860. Change with lemonade (2 brushes for wrong questions)

Ego planner code analysis ----cmakelists Txt and package xml

Single chip microcomputer: infrared remote control communication principle
![[test development] installation of test management tool Zen path](/img/8b/363e393bdb2d3400a2e8361af8677d.png)
[test development] installation of test management tool Zen path

Introduction and use of ES6

Single chip microcomputer: basic concepts of a/d and d/a

单片机:I2C通信协议讲解

Intervention analysis + pseudo regression
随机推荐
[笔记]vs2015 编写汇编masm32之使用MASM32库
Real time requirements for 5g China Unicom repeater network management protocol
高等数学(第七版)同济大学 习题1-3 个人解答
单片机:EEPROM介绍与操作
Single chip microcomputer: infrared remote control communication principle
5G China unicom 直放站 网管协议 实时性要求
十亿数据量 判断元素是否存在
Lambda终结操作查找与匹配noneMatch
dumi 搭建文档型博客
On the value of line height
单片机:I2C通信协议讲解
Among the four common technologies for UAV obstacle avoidance, why does Dajiang prefer binocular vision
【ZeloEngine】本地化流程/ImGui中文化
Lambda end operation find and match allmatch
EIA map making - data processing + map making
学生管理系统
Data analysis report
单片机外设介绍:温度传感器 DS18B20
SCM: introduction and operation of EEPROM
LVS 4 - tier Load Balancing Cluster (3) Cluster Function Classification - HPC