为什么我们在3层和n层使用MVC?它增加了更多的安全性还是什么? [英] Why we use MVC in 3-tier and n-tier ? is it add more security or what ?

查看:95
本文介绍了为什么我们在3层和n层使用MVC?它增加了更多的安全性还是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

mvc已经是单独的型号,视图,控制器然后为什么我们使用3层和n层IN MVC ??

我怎样才能选择3层或n层?



我尝试了什么:



搜索....搜索....搜索关于....搜索....搜索....搜索....

解决方案

显然,你混淆了不同的东西:层和体系结构解决方案的组件,例如层或MVC组件。我希望在这个简单的提示之后你能够理清这些基本概念。



请参阅:

多层架构 - 维基百科,免费的百科全书 [ ^ ],

模型 - 视图 - 控制器 - 维基百科,免费的百科全书 [ ^ ]。



另请参阅:建筑模式 - 维基百科,免费的百科全书 [ ^ ]。



我也希望彻底阅读第一个参考文献文章将帮助您了解多层架构背后的基本原理。



-SA

mvc is allready seperate model ,view , controller then why we use 3 tier and n tier IN MVC??
how can i chose 3tier or n-tier ?

What I have tried:

searching about .... searching about .... searching about .... searching about .... searching about .... searching about ....

解决方案

Apparently, you are confusing different things: tiers and components of the architectural solutions, such as layers, or MVC components. I hope after this simple hint you will be able to sort out these basic concepts.

Please see:
Multitier architecture — Wikipedia, the free encyclopedia[^],
Model–view–controller — Wikipedia, the free encyclopedia[^].

See also: Architectural pattern — Wikipedia, the free encyclopedia[^].

I also hope that thorough reading of the first referenced article will help you to understand the rationale behind multitier architectures.

—SA


这篇关于为什么我们在3层和n层使用MVC?它增加了更多的安全性还是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆