什么是MVC模型

一下是来自维基百科的一段解释:(From Wikipedia, the free encyclopedia)

  

 Model–view–controller (MVC) is a software architecture pattern which separates the representation of information from the user's interaction with it. The model consists of application data, business rules, logic, and functions. A view can be any output representation of data, such as a chart or a diagram. Multiple views of the same data are possible, such as a bar chart for management and a tabular view for accountants. The controller mediates input, converting it to commands for the model or view. The central ideas behind MVC are code reusability and separation of concerns.

 本人的翻译是:

    

  MVC是一个用来分离信息描述与用户和信息交互的软件架构模式。这里模型是有应用程序的数据,业务规则,逻辑和功能组成的。单视图是输出诸如:图表,图的数据描述;多视图也是可能的,比如:条形图用于管理,列成表格的视图为了会计。控制层调剂输入,转换这些信息去协调命令模型或者视图。MVC主要的观点就是为了代码的复用和关注点的分离。

 

 

看后的感想是,新公司是一家外企,背景是英语,现在不得不看一下纯英语的资料了。不过,现在真心感觉老外写的东东就是通熟易懂,可是为什么翻译成中文是那么的抽象呀。这让我挺郁闷的,有人说“关于开发类的书籍,国内的作者都没有做过开发”。现在我是信这句话了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值