如果有的话,MVC模式与DAL/BLL设计模式有何不同? [英] How does the MVC pattern differ, if at all, from the DAL / BLL design pattern?

查看:115
本文介绍了如果有的话,MVC模式与DAL/BLL设计模式有何不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在逐步完成早期的数据访问教程在Microsoft的ASP.NET网站上,我发现这一切与我所读过的关于使用

I'm making my way through the early Data Access Tutorials on Microsoft's ASP.NET website and it occurred to me that this all seems awfully similar to what I have read about separating your logic and presentation code using the MVC pattern. As a newbie I have yet to implement the MVC pattern but I'm curious as to how these two design structures differ and if I should be focusing my attention on one or the other, particularly in the context of web design.

推荐答案

您为数据访问教程"发布的链接是MVC模式的实现. MVC模式是一个概念,实现可能有所不同;您在ASP.NET中拥有此功能,而在Java中,有一个名为 Struts 的框架,它是MVC的实现

The link you've posted for the Data Access Tutorial is implementation of MVC pattern. MVC pattern is a concept, implementation can differ; you have this in ASP.NET whereas in Java there's one framework called Struts, which is an implementation MVC.

DAL& BLL模式在概念上与MVC模式不同.但不是这个特定的实现. MVC实际上是通过使用DAL,BLL和查看图案.

DAL & BLL patterns differ from the MVC pattern in terms of concepts; but NOT this specific implementation. MVC is actually achieved through usage of DAL, BLL & View Patterns.

这篇关于如果有的话,MVC模式与DAL/BLL设计模式有何不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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