当前位置:网站首页>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 .
边栏推荐
- [test development] basic concepts related to testing
- 手机私有充电协议解读
- Lambda终结操作查找与匹配findFirst
- Sword finger offer II 022 Entry node of a link in a linked list
- Real time requirements for 5g China Unicom repeater network management protocol
- How can a sweeping robot avoid obstacles without "mental retardation"? Analysis of five mainstream obstacle avoidance techniques
- 高等数学(第七版)同济大学 习题1-3 个人解答
- 学生管理系统
- GoFrame第四天
- Fundamentals of robot obstacle avoidance system
猜你喜欢
10 minutes to thoroughly understand how to configure sub domain names to deploy multiple projects
Single chip microcomputer: MODBUS multi computer communication program design
MCU: pcf8591 hardware interface
[笔记]vs2015 编写汇编masm32之使用MASM32库
Value of line height
GoFrame第五天
Fundamentals of robot obstacle avoidance system
单片机:A/D(模数转换)的主要指标
USB-IF BC1.2充电协议解读
Alipay native components (hotel time selection)
随机推荐
单片机/嵌入式的实时性疑问解答
Difference between OKR and KPI
Common array methods in JS (map, filter, foreach, reduce)
Manage PC startup items
大五人格学习记录
2022 spring semester summary
Intervention analysis + pseudo regression
【愚公系列】2022年06月 .NET架构班 081-分布式中间件 ScheduleMaster的API自定义任务
Introduction to RFM analysis
单片机:RS485 通信与 Modbus 协议
高等数学(第七版)同济大学 习题1-2 个人解答
Milliards de données pour déterminer si un élément existe
Lambda终结操作查找与匹配allMatch
5G China unicom 直放站 网管协议 实时性要求
GoFrame第五天
Single chip microcomputer: infrared remote control communication principle
机器人避障系统基础
Alipay native components (hotel time selection)
解答私信@田田WX //2022-6-12 C语言 51单片机LED模拟交通灯
EIA map making - data processing + map making