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.
在下面的例子中,你可以看到两个异步调用(可能是到一个数据库的调用)是如何嵌入视图模型的构造函数里的。
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模型也会有所价值,所以您应该去了解它如何工作,以及它可以为您做些什么。
First we'll define the view-model. After that, we will bind the HTML markup to the view-model.
首先,我们要定义视图模型。之后,要将HTML标记与视图模型进行绑定。
To encapsulate these functions, we'll create another view-model class that represents a product.
为了封装这些函数,我们将创建另一个表示产品的视图模型类。
Obuect-oriented view-model is constructed in this paper by use of special data structure of relational CAD system.
运用关系型CAD系统数据结构的独特性,构造面向对象的视图模型。
Models are converted to HTML and published on your Intranet, where anyone with a Web browser can view the model.
模型转换成HTML并发布在内联网上,所有拥有Web浏览器的人都可以查看到模型。
The principle of preferred plane analysis is a new research view and model for rock slope engineering geology.
优势面分析原理是边坡工程地质问题的一种新的研究观点和模式。
Keep in mind the "user view" or "programming model" of concurrency as a matter of scheduling access to a unitary resource.
请记住,从“用户视图”或“编程模型”的角度来看,并发就是关于调度对不可分资源的访问这样一件事情。
All the data and the actions (requests to the server) are part of the model, as is common in typical model View Control (MVC) architectures.
所有的数据和动作(请求服务器)都属于模型的一部分,和典型的模型-视图-控制器(MVC)架构一样。
You can easily do this by selecting the mapping group details view in the resulting mapping model.
你可以通过选择结果映射模型中的映射组细节来轻松的完成这些工作。
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业务模型。
It is very simple and contains exactly one service and one view model with a "mock database".
它非常简单并且只包含一个服务和一个带模拟数据库的视图模型。
You can define a view model yourself to add customized behavior but you don't need to.
你可以定义你自己的视图模型以添加行为,但你并不需要。
It then provides a view model to add structure to the data so it can be aggregated to provide useful meaning.
然后它提供一个视图模型为数据添加结构,因此能够聚合数据得出有用的含义。
It USES metaprogramming to generate the view model and allow you to bind to the objects you define in your controller.
它使用元编程来生成视图模型,使你能够绑定至你在控制器中定义的对象。
Figure 1 shows the logical model view of this architecture.
图1显示了此体系结构的逻辑模型视图。
The logical model view decomposes the functional underpinnings of an SOA solution.
该逻辑模型视图对SOA 解决方案的功能基础进行了分解。
Application directories with subdirectories for model, view, and controller.
应用程序目录,包括模型、视图和控制器的子目录。
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.
这个应用程序的设计原则是消除视图和模型之间的耦合。
Figure 1 shows the SOA Foundation Reference Architecture logical model view.
图1显示了SOAFoundation参考体系结构逻辑模型视图。
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方法中,可以设置将在后续操作中使用的视图和模型对象。
Rails helpers are functions that help to simplify model, view, or controller code.
Rails帮助器是帮助简化模型、视图、控制器代码的函数。
Infinite decompositions can easily occur in larger composite processes, where maintaining a global view of the model becomes difficult.
在较大的组合流程中容易出现无限分解的现象,而且维护模型的全局视图也变得相当困难。
Logical view Addresses the static design model.
逻辑视图处理静态设计模型。
The MVC architecture (or design pattern) is a graphical user interface (GUI) design style that consists of three parts: model, view, and controller.
MVC架构(或设计模式)是图形用户界面(GUI)的设计样式,由三部分构成:模型、视图和控制器。
The appropriate view component processes the model object and returns it as a formatted response to the client.
适当的视图组件将处理模型对象,并返回它作为对客户机的格式化响应。
Monkeybars aims to reduce direct view interaction with the model and controller.
Monkeybars的目的是减少视图与模型和控制器的直接交互。
The view of the model was developed using the Eclipse platform to create an RCP application.
模型的视图是使用Eclipse平台开发的。
应用推荐