For example, in the Model-View-Controller (MVC) design pattern, the controller invokes methods.
例如,在模型-视图-控制器(MVC)设计模式中,控制器调用方法。
This command creates the proverbial view and controller part of Model-View-Controller (MVC).
该命令将创建模型-视图-控制器(mvc)的视图和控制器部分。
The controller can specify a code block for each type the controller expects.
控制器可以为控制器期望的每个类型指定一个代码块。
Return briefly to Listing 4, where you defined the data source for the table as the controller. This means that the controller has some data source methods to implement; Listing 6 shows those.
简要回顾一下清单4,您在那里将数据表的数据源定义为控制器,那意味着控制器有一些数据源方法需要实现,如 清单 6 所示。
Source adapter controller - the source adapter controller has an in-memory "mailbox" that it monitors to pick up events and passes them to the corresponding collaboration.
源适配器控制器——源适配器控制器在内存中具有一个“邮箱”,它对此邮箱进行监视,以拾取事件,并将其传递到相应的协作中。
The role of the device driver, then, is to query the touch screen controller whenever an interrupt occurs, and to ask the controller to send the coordinates of the touch.
然后,这个设备驱动程序的角色是每当出现中断时就查询触摸屏控制器,并请求控制器发送触摸的坐标。
Both controller classes extend the base controller class to inherit the common functionality it provides.
这两个控制器类都继承控制器基类来继承后者提供的通用功能。
With the direct dispatching approach, the API definition class is attached to the controller class, and the API methods are implemented in the controller class as public instance methods.
通过直接调度方法,可以把API定义类与控制器类绑定在一起,并且在控制器类中实现作为公共实例方法的API方法。
As you can see, you first invoke the controller action as if it were a method call on the controller.
可以看到,您首先调用控制器操作,就像它是另一个控制器上的方法一样。
Controller - the controller is the glue between the Model and the View.
控制器——控制器是模型和视图间的粘合剂。
For example, a rich client controller may provide drag and drop controls for ICONS, whereas a thin client controller would not.
例如,一个胖客户机控制器可以提供对图标的拖放控制,而瘦客户机控制器却不会。
In other words, the cloud controller, cluster controller, and storage controller run on the front end machine.
换句话说,云控制器、集群控制器和存储控制器在前台机器上运行。
In theory, the URL could also include the name of a controller and any optional parameters the controller might need.
理论上,该URL也可以包含控制器的名称和控制器需要的任何可选参数。
Think of the controller as the air traffic controller at an airport, giving direction to the coming and going of aircraft.
我们可以将控制器想象为机场的空中交通控制器,指挥飞机的进出方向。
You first enable the console terminal (TTP) and associate the programmable asynchronous line controller (PAS) and magnetic tape controller (MT) to avoid device number conflicts.
您首先要启动控制台终端 (TTP)并将可编程异步线路控制器 (PAS)和磁带控制器 (MT)结合在一起以避免设备号冲突。
You can call an action method that is in a controller other than the current controller.
你可以调用不是当前控制器中的动作方法。
Each domain controller maintains a USN that is specific to that domain controller.
每个域控制器都维护特定于该域控制器的USN。
This JVM is called the controller (controller region).
此JVM称为控制器(控制器区域)。
The first is the HTML controller and the second is the WML controller.
第一个是HTML控制器,第二个是WML控制器。
Controller - the MVVM pattern does not mention a controller but WAF contains one, having the responsibility to direct the flow of the application.
Controller—MVVM模式中没有提到控制器,但是WAF中包含了一个,它的职责是指引程序的流向。
In Model-View-Controller (MVC) parlance, I need a controller, which is often a servlet; I'll leverage a Groovlet instead because I'd rather write less code.
按Model - View - Controller (MVC)的话说,我需要一个控制器(通常为一个servlet);我将利用Groovlet替代,因为我希望编写更少的代码。
Servlets form the controller layer of a typical Model-View-Controller (MVC) architecture and serve as an interface between the presentation and the model layers.
Servlet构成典型的模型-视图-控制器(MVC)体系结构的控制器层,并充当表示层和模型层的接口。
This controller will look similar to the front controller, in that you will be registering the autoloader and defining the base adapter for the model.
该控制器看上去将类似前端控制器,因为您将注册自动装入器(autoloader)并为模型定义基本适配器。
For example, if you want to use Sanitize in your products controller, the top of your controller might look like what is shown in Listing 7.
例如,如果您想要在您的产品控制器中使用Sanitize,则控制器的顶部看起来如清单7所示。
In the front controller, you told symfony to look for the controller and dispatch the request.
在前端控制器中,您将要求symfony查找控制器并发送请求。
The catalog service was then implemented by a service controller, and this controller accessed the legacy catalog application to provision the catalog data required by the catalog service.
随后由服务控制器实现Catalog服务,此控制器将访问遗留Catalog应用程序,以提供Catalog服务所需的Catalog数据。
Before moving on to the Ad controller, you might have noticed that the controller methods make direct use of domain-object data-access code.
在转到Ad控制器之前,您可能注意到了控制器方法直接使用域对象数据访问代码。
If it does, it sets the advertiser in the session and forwards to the same action in the AD controller you first saw in the Register controller.
如果匹配,则把广告客户设置到会话中,并前进到在Register控制器中看到的Ad控制器中的相同操作。
If it does, it sets the advertiser in the session and forwards to the same action in the AD controller you first saw in the Register controller.
如果匹配,则把广告客户设置到会话中,并前进到在Register控制器中看到的Ad控制器中的相同操作。
应用推荐