支持应用控制器的重命名
我要对我的代码进行模块化,这样就可以有单独的控制器来处理应用的不同部分了。
I like to modularize my code, so I allow separate controllers for different parts of the application.
我们将在后续文章中对其进行详细分析的首选数据源模式可应用于控制器层。
And the preferred data source pattern, which we will examine in greater detail in the next articles, can be applied in the controller layer.
对于分类器,我应用原型、和,它们分别表示参与者、控制器类或用户界面(UI)类。
For the classifiers, I applied the stereotypes, and indicating they represent an actor, a controller class, or a user interface (UI) class, respectively.
这是应用程序的主入口点,也是添加新控制器方法的地方。
This is the main entry point for your application and the place to add new controller methods.
如今,企业系统解决方案一般采用多层的系统架构,包含用于表示、控制器、应用、领域,和持久性的分别的层。
Enterprise system solutions nowadays commonly adopt a multi-layered system architecture, with separate layers for presentation, controller, application, domain, and persistence.
连接到应用程序后,它会发布从控制器接收到的MIDI消息。
When the application has been attached, it will publish the MIDI messages received from the controller.
例如,不要将Web服务放在应用程序的视图层和控制器层之间。
For example, don't put it between the view and the controller layers of an application.
Sitebricks是一种模型-视图-控制(MVC)类型的框架,不过它专注于应用程序中的控制器和视图。
Sitebricks is a model-view-control (MVC) style of framework, but it concentrates on the controllers and views in your application.
以下的部分将说明可以如何在Rational Software Architect的模型驱动的开发环境中将aspect日志记录模式应用到Catalog控制器。
The following sections illustrate how the aspect logging pattern can be applied in a model-driven development environment of Rational Software Architect to the catalog controller.
Application类是一个单身类(singletonclass),用作应用程序的所有操作的控制器。
The Application class is a singleton class that acts as a controller for all of the application's operations.
Aspect日志记录模式也能应用于控制器层。
The aspect logging pattern will also be applied at the controller layer.
应用程序将XML文档提交给Rubyon Rails控制器。
Your application submits this XML document to a Ruby on Rails controller.
servicescontroller类充当应用程序控制器,它将进入的客户机请求路由到合适的请求处理程序和formbean。
The ServicesController class ACTS as an application controller, routing incoming client requests to appropriate request handlers and formbeans.
第一部分,清单6,介绍应用程序开始部分和视图控制器的初始化。
The first section, Listing 6, covers the application startup and the initialization of the view controller.
这样,当服务器响应来自应用程序的请求时,控制器上的一个方法将被调用。
Thus, a method on the controller will be invoked when the server responds to the request from the application.
MIDI输入应用程序显示了它从相连控制器发布的消息。
The MIDI input application displays the messages it publishes from the attached controller.
依赖注入让您将应用程序的主要层次编织到一起,从而,这使您产生一个具有视图、模型和控制器层的松散耦合应用程序。
Dependency injection lets you weave together the main layers of your application, which, in turn, lets you produce a loosely coupled application with view, model, and controller layers.
当动态集群在自动模式下运行时,应用程序位置控制器将在管理员不直接参与的情况下停止一个集群成员。
When dynamic clusters are running in automatic mode, the application placement controller can bring down a cluster member without the direct involvement of an administrator.
这些信息为本系列的下一期奠定了基础,下一期将介绍样例应用程序的视图组件和控制器类的类框架。
This information will help set the stage for the next installment of this series, which will describe the view component of the sample application and the class skeleton of the controller class.
手机可以同时作为血糖仪,胰岛素泵的控制器,数据记录应用来使用,它还内置有跨平台的数据分享功能。
The phone ACTS as a glucose meter, controller for your pump, and data logging application all in one, with built-in capability to share the data across platforms.
模型指数据,视图指表示层,而控制器指应用程序逻辑或业务逻辑。
Model refers to your data, View to your presentation layer, and Controller refers to the application or business logic.
这个程序不仅支持用户界面的拖放创建功能,还允许开发人员以图形的方式将UI控件 “连接”到底层应用程序控制器上的方法。
This program not only enables drag-and-drop creation of user interfaces, but also allows developers to visually "wire" the UI controls to methods on the underlying application controllers.
清单3展示了您的应用程序的控制器。
如果使用此控制器只是为了监视嵌入式应用服务器(通常情况),请将此控制器配置为仅接受来自“这台计算机”的请求是最好的方法。
If you use the controller solely to monitor the embedded application server (the typical case), configuring the controller to accept requests only from "this computer" is the best approach.
控制器处理并响应用户操作。
在这个拓扑中,显然一个数据中心的应用程序位置控制器无法利用其他数据中心中的空闲容量。
In this topology, it's obvious that the application placement controller in one data center will not be able to tap into idle capacity in the other data center.
在很多应用中,一个控制器可能同时与多个模型类进行交互。
All but the most trivial applications will find that controllers sometimes interact with more than one model class.
这样的说明确实有些过于简单,顾名思义,ADC(应用程序交付控制器)用于控制和管理应用程序流量的交付方式。
It is a necessarily vague description, but as the name suggests an ADC is used to control and manage the way that application traffic is delivered.
这个命令产生了基本的应用程序骨架,包含了控制器以及其他的应用。
This generates the basic application skeleton, with controllers and other apps.
应用推荐