什么是MVC?为什么用它? [英] what is MVC ? why it is used?

查看:83
本文介绍了什么是MVC?为什么用它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是MVC?为什么用它?描述它的优点?

解决方案

任何努力?



让我谷歌那个给你



我最喜欢的一个definitions [ ^ ]:



MVC( Model,View,Controller)是一种用于在应用程序中组织代码以提高可维护性的模式。想象一位摄影师带着他的相机在工作室里。顾客要他拍一张照片。盒子是模型,摄影师是控制器,摄像头是视图。



互联网上有很多关于这个主题的好文章。出去寻找他们。



CodeProject也有一些非常好的资源。



< a href =http://www.codeproject.com/Articles/42830/Model-View-Controller-Model-View-Presenter-and-Mod>模型视图控制器,模型视图展示器和模型视图ViewModel设计模式 [ ^ ]



Why(s)& Asp.Net MVC第1部分的方法 [ ^ ]


what is MVC ? why it is used? describe the advantage of it?

解决方案

Any effort?

Let me google that for you

One of my favorite definitions [^]:

MVC (Model, View, Controller) is a pattern for organising code in an application to improve maintainability. Imagine a photographer with his camera in a studio. A customer asks him to take a photo of a box. The box is the model, the photographer is the controller and the camera is the view.

There are tons of good articles on internet on this topic. Go out and look for them.

CodeProject also has some very good resources as well.

Model View Controller, Model View Presenter, and Model View ViewModel Design Patterns[^]

Why(s) & How(s) of Asp.Net MVC Part 1[^]


这篇关于什么是MVC?为什么用它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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