The View Model is essentially the logical representation of the UI.
视图模型本质上是UI的逻辑表示。
The Razor view model was designed for Web Pages first, then adopted by MVC 3.
Razor视图模式起初是为页面开发模式设计的,后来也被MVC3所采用。
You can define a view model yourself to add customized behavior but you don't need to.
你可以定义你自己的视图模型以添加行为,但你并不需要。
It is very simple and contains exactly one service and one view model with a "mock database".
它非常简单并且只包含一个服务和一个带模拟数据库的视图模型。
It then provides a view model to add structure to the data so it can be aggregated to provide useful meaning.
然后它提供一个视图模型为数据添加结构,因此能够聚合数据得出有用的含义。
The example I've included with this post is view-first. The view is created, then the view model attached.
本文中我使用的示例是视图优先模式。
Aiming to the feature of every view model, we adopt corresponding extension mechanism of UML to describe it.
针对每个视图模型的特点,采用相应的UML扩展机制对其进行描述。
It USES metaprogramming to generate the view model and allow you to bind to the objects you define in your controller.
它使用元编程来生成视图模型,使你能够绑定至你在控制器中定义的对象。
In this case, the view for the contact details can use this same view model, and simply bind to the CurrentContact property.
在这个例子中,联系人详细信息视图可以使用相同的视图模型,并简单绑定到CurrentContact属性。
This paper discusses the framework of the "4 + 1" view model of architecture based on the new component model, and USES it in the design of a simple library system.
本文讨论基于新的构件模型的“4 +1”体系结构描述模型的结构框架,并将其运用到简化了的图书馆系统的设计中。
An abstract description of the MRBT service using the connection view model (CVM) is addressed with the redefined call party handling mechanism which presents a technology independent service model.
该文通过连接视图模型对MRBT业务进行了抽象表示,建立了与实现技术无关的MRBT业务模型。
In the example below you can see how two asynchronous calls (presumably to a database) are in-lined with the constructor of the view-model.
在下面的例子中,你可以看到两个异步调用(可能是到一个数据库的调用)是如何嵌入视图模型的构造函数里的。
Figure 1 shows the logical model view of this architecture.
图1显示了此体系结构的逻辑模型视图。
To this, we pass the view, the data model, and a list of the namespaces used.
我们向该实例传递视图、数据模型和所用的名称空间的列表。
The general design of the application is to remove the coupling of the view from the model.
这个应用程序的设计原则是消除视图和模型之间的耦合。
Our application development tools support the IBM Framework for e-business, which advocates the model view controller (MVC) concept.
我们的应用开发工具支持“IBM电子商务框架”,它支持模型-视图-控制器(MVC)概念。
This assumption means that you don't need to worry about model-view separation at all, right?
这种假定就意味着您根本不需要担心模型-视图分离,对吗?
The logical model view decomposes the functional underpinnings of an SOA solution.
该逻辑模型视图对SOA 解决方案的功能基础进行了分解。
A diagram is a view of the model, but it is not a view of the whole model.
图是模型的视图,但它不是整个模型的视图。
Models are converted to HTML and published on your Intranet, where anyone with a Web browser can view the model.
模型转换成HTML并发布在内联网上,所有拥有Web浏览器的人都可以查看到模型。
Application directories with subdirectories for model, view, and controller.
应用程序目录,包括模型、视图和控制器的子目录。
Model View – a view used to edit entities
模型视图——用于编辑实体的视图
You've seen how Monkeybars splits things up into model, view, and controller.
您已经看到了Monkeybars如何划分模型、视图和控制器。
In the init method, you can set up the view and model objects you will use in the subsequent actions.
在init方法中,可以设置将在后续操作中使用的视图和模型对象。
Figure 1 shows the SOA Foundation Reference Architecture logical model view.
图1显示了SOAFoundation参考体系结构逻辑模型视图。
This command creates the proverbial view and controller part of Model-View-Controller (MVC).
该命令将创建模型-视图-控制器(mvc)的视图和控制器部分。
The logical view of the ARTS Data Model avoids abbreviations.
ARTS数据模型的逻辑视图中避免使用缩写词。
Even if you don't do the view-model separation, the MVC pattern is valuable in many situations, so you should take a look at how it works and what it can do for you.
即使您不进行视图-模型的分离,在很多情况下mvc模型也会有所价值,所以您应该去了解它如何工作,以及它可以为您做些什么。
For example, in the Model-View-Controller (MVC) design pattern, the controller invokes methods.
例如,在模型-视图-控制器(MVC)设计模式中,控制器调用方法。
This design technique, called model-view-controller (MVC), makes it easier to isolate changes to a view or model.
这项设计技术叫做模型-视图-控制器(mvc),它使对视图或模型的更改更容易分隔开。
应用推荐