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.
但本性乐观的我倾向于这种观点,某些新的模式将出现,新的职业将为从业人员带来合理的薪酬和满足感。
To this, we pass the view, the data model, and a list of the namespaces used.
我们向该实例传递视图、数据模型和所用的名称空间的列表。
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 DPTK is architected to use Model View Controller.
DPTK设计为使用模型-视图-控制器模式。
This stateless behavior made it difficult for the model to notify the view of changes.
这种无状态行为使得模型很难将更改通知视图。
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 view model here makes a concrete reference to the service.
这个视图模型对服务做了一个具体的引用。
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.
在模型和视图之间的清楚分离,对于降低耦合很重要,并使对视图的根本修改不会影响到模型,反之亦然。
It implements the Model - ViewModel - View - Controller pattern that seems to be popular in WPF.
它实现了模型-视图模型-视图-控制器这个看起来在WPF中很流行的模式。
Remember the job of the controller is to prepare the model for the view..
记住,控制器的职责是为视图准备模型对象。
The goal of the controller is to prepare the model for the view.
控制器的目的是为视图准备模型对象。
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.
应用程序被看作查看和查询数据库底层模型的方式。
The view should be notified when changes to the model occur.
当更改模型时,视图应得到通知。
应用推荐