Instead the controller component is responsible for view to model updates, and often for updating the view based on the model data.
控制器组件则负责查看模型更新,并根据模型数据更新视图。
A useful scenario is to use a UNION ALL view to model a merger, where each branch of the UNION ALL operation represents data from a branch or division of a company.
一个有用的场景是使用UNIONALL视图来为合并建模,其中UNION ALL操作的每个分支表示来自一个分公司或公司某部门的数据。
But my optimistic nature inclines me to the view that some new model will emerge that makes for a fulfilling and reasonably well-compensated career.
但本性乐观的我倾向于这种观点,某些新的模式将出现,新的职业将为从业人员带来合理的薪酬和满足感。
Then we make a standard model, controller, and view for words to view the list of words from the database.
然后将为单词创建一个标准模型、控制器和视图查看数据库中的单词列表。
To this, we pass the view, the data model, and a list of the namespaces used.
我们向该实例传递视图、数据模型和所用的名称空间的列表。
Figure 1 does not include any persistence or system classes, but if it did, you would want to create a view of our model that did not show them.
图1不包括任何持久性或者系统类,但是如果包括了,您将创建一个我们的模型视图,它没有显示这些类。
It turns out that subclassing is not only familiar but is probably the most flexible and straightforward way to map from model to view.
结果证明,子分类方法不但十分常用,而且还可能是从模型映射到视图最灵活也是最直接的方法。
It then provides a view model to add structure to the data so it can be aggregated to provide useful meaning.
然后它提供一个视图模型为数据添加结构,因此能够聚合数据得出有用的含义。
The goal of the controller is to act as the glue from the model to the view.
控制器的目标是充当从模型到视图的粘合剂。
Each controller, or EditPart as they are called here, is responsible both for mapping the model to its view, and for making changes to the model.
每个控制器(即本文所谓的EditPart)负责将模型映射到它的视图,也负责对模型进行更改。
In this case, the view for the contact details can use this same view model, and simply bind to the CurrentContact property.
在这个例子中,联系人详细信息视图可以使用相同的视图模型,并简单绑定到CurrentContact属性。
Rails helpers are functions that help to simplify model, view, or controller code.
Rails帮助器是帮助简化模型、视图、控制器代码的函数。
Hobo may be thought of as a set of cooperating extensions to Rails' model, view, and controller layers.
开发者可以将Hobo看做一个Rails的模型、视图和控制器的协作扩展工具集。
To create the model, switch to model View and expand the top-most leaf. You'll see three further leaves at the next level.
要创建模型,先切换到Model View并展开最上面的叶子。
It is particularly useful for our project since it shields us from having to know how to adapt the model to the view.
这种方案对我们的项目极其有用,因为它让我们不必去了解如何调整模型以适应视图。
The general design of the application is to remove the coupling of the view from the model.
这个应用程序的设计原则是消除视图和模型之间的耦合。
The controller requests data from the model and sends it to the view for formatting.
控制器从模型请求数据并发送给视图完成格式化。
It USES metaprogramming to generate the view model and allow you to bind to the objects you define in your controller.
它使用元编程来生成视图模型,使你能够绑定至你在控制器中定义的对象。
One way around this is to build a custom view that will provide access to the domain model content we desire.
有一种解决方法是,构建自定义的视图,使我们能够访问所需的域模型内容。
From a design perspective, this is a classic problem of the data model being coupled to view generation.
从设计的角度来看,这是数据模型与视图生成耦合的经典问题。
You can define a view model yourself to add customized behavior but you don't need to.
你可以定义你自己的视图模型以添加行为,但你并不需要。
This design technique, called model-view-controller (MVC), makes it easier to isolate changes to a view or model.
这项设计技术叫做模型-视图-控制器(mvc),它使对视图或模型的更改更容易分隔开。
This assumption means that you don't need to worry about model-view separation at all, right?
这种假定就意味着您根本不需要担心模型-视图分离,对吗?
Clean separation between model and view is important to reduced coupling, making radical view changes less likely to ripple into the model and vice versa.
在模型和视图之间的清楚分离,对于降低耦合很重要,并使对视图的根本修改不会影响到模型,反之亦然。
Model refers to your data, View to your presentation layer, and Controller refers to the application or business logic.
模型指数据,视图指表示层,而控制器指应用程序逻辑或业务逻辑。
It implements the Model - ViewModel - View - Controller pattern that seems to be popular in WPF.
它实现了模型-视图模型-视图-控制器这个看起来在WPF中很流行的模式。
You can indicate which action to take, what model to use, which view to display to the user, what validation rules to employ, which forms to display ... Struts is totally configurable.
您可以指出采取哪种动作,使用什么模型,将哪种视图显示给用户,采用什么验证规则,显示哪种表单 ...
Applications were seen as a way to view and query the database's underlying model.
应用程序被看作查看和查询数据库底层模型的方式。
With MVC in Dojo trees, tree creation starts from controller, goes to model, then to view, as shown in Figure 1.
使用dojo树中的MVC,树的创建由控制器开始,然后是模型,最后是视图,如图1所示。
ArgoUML also provides a large number of model explorer perspectives based on customizable rules, which allows you to view the model in context-specific ways.
ArgoUML还提供了大量的基于自定义规则的模型资源管理器透视图,它们允许您按照上下文特定的方式来查看模型。
应用推荐