In the MVC paradigm, each view has a controller class.
在MVC模式中,每一个视图都有一个控制器类。
Implement the API methods in the client controller class.
在客户机控制器类中实现API方法。
Test the Web service by adding scaffolding to the controller class.
通过向控制器类中添加scaffolding来测试Web服务。
In the controller class, you created the object to manage the collaboration.
在控制器类中,您创建了对象来管理协作。
Implement the API methods in the controller class as public instance methods.
在控制器类中实现作为公共实例方法的API方法。
The controller class also specifies the wsdl_service_name, the Web service name.
该控制器类还将指定Web服务名称wsdl_service_name。
Attach the service classes to the controller class using the web_service option.
使用web_service选项将服务类与控制器类绑定在一起。
Define the API method or methods and implement the method in the controller class.
定义一个或多个API方法并在控制器类中实现方法。
The controller class contains the code the Web service makes available to a client.
该控制器类包含可用于客户机的Web服务代码。
With the direct dispatching approach, a controller class may implement only one API.
通过直接调度方法,控制器类只能实现一个api。
TurboGears' request dispatch mechanism is routed via controller class and method names.
TurboGears的请求分发机制通过控制器类和方法名进行路由。
This enables events to be automatically forwarded to the controller class to be handled.
这允许将事件自动地转发给控制器类进行处理。
API methods for all the API service classes specified in the controller class get listed.
在控制器类中指定的所有api服务类的API方法都将被列出。
Attach the API web service class to a controller class using the web_service_api option.
使用web_service_api选项将apiweb服务类与控制器类绑定在一起。
In the delegated dispatching approach, a controller class may implement more than one API.
在委托调度方法中,控制器类可以实现多个api。
The only class file in the portlet is the portlet controller class, called ZiptoLocPortlet.
portlet中唯一的类文件是portlet控制器类,名为ZiptoLocPortlet。
The API method implementations are defined in the controller class as public instance methods.
API方法实现是作为公共实例方法定义在控制器类中的。
Clicking the "add" button will cause the controller class to be created and added to the project.
点击“添加”按钮会生成一个控制器类,并将它加到项目中去。
These are used by the Interface Builder to hook up the interface elements to this controller class.
它们由InterfaceBuilder 用来将界面元素连接到这个控制器类。
A limitation of the direct dispatching approach is that a controller class may implement only one API.
direct调度方法的限制是控制器类只能实现一个api。
This is a controller class that has the responsibility of managing the execution of the business logic.
这是一个控制器类,其职责是管理业务逻辑的执行。
Both controller classes extend the base controller class to inherit the common functionality it provides.
这两个控制器类都继承控制器基类来继承后者提供的通用功能。
Assign the OneViewController view controller class for the selected One view view using the class drop down list.
使用class下拉菜单为选中的Oneview视图分配OneViewController视图控制器类。
Since the delegate is the controller class, you can implement any of those four methods-and they are all optional.
由于代理是控制器类,因此您可以实现那4个方法中的任何一个—它们都是可选的。
At the beginning of the controller class file addressadmin_controller.rb, you need to add the code shown in Listing 7.
在控制器类文件addressadmin_controller . rb的开头,需要添加如清单7所示的代码。
TurboGears quickstart provides a project with a controllers.py module that is the location of the Root controller class.
TurboGearsquickstart提供了一个具有 controllers.py模块的项目,该模块是Root控制器类所在的位置。
The idea is to keep the controller class as simple as possible to allow business logic to be abstracted to a helper class.
这个想法是为了使控制器类尽可能保持简单以允许业务逻辑被抽象为助手类。
Now you'll configure the DemoProject1.js file to be the controller class for the iWidget by modifying the DemoProject1.xml
现在需要修改DemoProject1.xml文件,以便将DemoProject1.js 文件配置为 iWidget的控制器类。
First, let's build a controller class named IndexController, which extends from the GenericForwardComposer (see Listing 1).
首先,构建一个名为IndexController的控制器类,它扩展了GenericForwardComposer(参见清单1)。
应用推荐