同样地,您在控制器中为应用程序添加的目的地和其他控制代码;您不在您的模型中放入这些数据。
Likewise, the controller is where you add destinations and other controlling code for your application; you don't put any of that stuff in your model.
我们需要使用这些知识为应用程序创建更加个性化的控制器和视图。
We need this knowledge to create more customized controllers and views for your application.
实际上,您是否意识到这个应用程序的完成只使用了一个控制器、一个模型和五个视图?
In fact, did you realize that you completed this application using only one controller, one model, and five views?
第一部分,清单6,介绍应用程序开始部分和视图控制器的初始化。
The first section, Listing 6, covers the application startup and the initialization of the view controller.
这些信息为本系列的下一期奠定了基础,下一期将介绍样例应用程序的视图组件和控制器类的类框架。
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.
应用程序的主要层是数据库、持久性框架、数据库访问对象和用户界面(UI)控制器及视图层。
The main layers of the application are a database, a persistence framework, a database access object, and user interface (UI) controller and view layers.
例如,不要将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.
应用程序目录,包括模型、视图和控制器的子目录。
Application directories with subdirectories for model, view, and controller.
Cocoa是用Object - c实现的,并使用MVC模式来封装视图、应用程序数据、控制器和实现管理逻辑的类。
Cocoa is implemented in Object-C and USES the MVC pattern to encapsulate views, application data, controllers and the class to mediate the management logic.
首先介绍JSF,它解决了控制器和MVCWeb应用程序视图层之间更清晰地分离这种需求。
When JSF was first introduced, it addressed the need for cleaner separation between the controller and the view layers of MVC Web applications.
对于添加到Grails应用程序的每个新特性,很可能都要涉及模型、视图和控制器。
For each new feature you add to your Grails application, you'll most likely touch the model, the view, and the controller.
而在web应用程序中,视图(浏览器)和控制器(处理httprequest的服务器端组件)的分离是非常重要的。
However, in Web applications, the separation between view (the browser) and controller (the server-side components handling the HTTP request) is very well defined.
使用多个控制器(例如Portlet、Servlet和Web服务)会增加应用程序的复杂性。
Using multiple controllers (for example a portlet, a servlet, and a Web service) adds to the complexity of the application.
依赖注入让您将应用程序的主要层次编织到一起,从而,这使您产生一个具有视图、模型和控制器层的松散耦合应用程序。
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.
如之前所述,您必须为每一个应用程序窗口创建一个视图nib文件和视图控制器,并将视图关联到正确的视图控制器类上。
As described above, you must create a view NIB file and view controller for each application window to associate any view to the correct view controller 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.
每一层的设备都实现了模型(计算,应用程序),视图(展现)和控制器(输入和交互能力)。
At each tier, the devices embody models computation, apps, views the display, and controllers input and interaction capability.
应用程序控制器控制屏幕激活和反激活的生命周期。
The ApplicationController governs the screen activation and deactivation lifecycles.
l控制器——这个对象允许用户和应用程序交互。
Controller - This object allows the user to interact with the application.
例如,一个Hobo缺省应用会提供用户注册和登录功能;缺省情况下,应用程序包括一个用户模型以及负责注册验证的控制器和视图。
For example, a default Hobo application provides for user signup and login; out of the box an application comes with a user model as well as controllers and views for registration and authentication.
在这篇文章中,我们将要创建另外一个简单的应用程序,不过这次要学习下如何使用Views(视图)和ViewControllers(视图控制器)来创建一个具有多个界面的应用程序。
In this article we're going to make another simple application, but this time we're going to explore using Views and View Controllers to make an application with more than one screen.
在本文中,您将在视图控制器类和iPhone应用程序相应的视图之间创建连接来管理应用程序内部的流控制器。
In this article, you will create the connection between the view controller class and the corresponding view of an iPhone application to manage the flow controller inside the application.
配置应用程序的主要层——在RentaBike应用程序中,我公开了一个数据访问对象(dao)层、一个控制器层和一个视图层(参阅清单1)。
Configuration Major layers of the application — in the RentaBike application, I expose a Data Access Object (DAO) layer, a controller layer, and a view layer (see Listing 1).
servicescontroller类充当应用程序控制器,它将进入的客户机请求路由到合适的请求处理程序和formbean。
The ServicesController class ACTS as an application controller, routing incoming client requests to appropriate request handlers and formbeans.
在传统的Web应用程序开发中,采用页面模板系统把视图生成与控制器逻辑和模型数据干净地分离。
In traditional Web application development, page templating systems are used to cleanly separate view generation from controller logic and model data.
典型的Web服务使用远程表示范例,这意味着所有的视图逻辑在客户机上执行,而应用程序逻辑和数据层(控制器和模型)则驻留于服务器上。
Typical Web services employ a remote presentation paradigm, meaning all view logic executes on the client, whereas the application logic and the data layer (controller and model) reside on the server.
Struts框架支持模型-视图-控制器(Model - View - Controller,MVC)模型,并且提出了许多重要的应用程序设计和实现需要注意的事项。
The Struts framework supports the Model-View-Controller (MVC) pattern and addresses many important application design and implementation considerations.
它很容易通过将应用程序划分为模型、视图和控制器管理的复杂性。
It makes it easier to manage complexity by dividing an application into the model, the view, and the controller.
它很容易通过将应用程序划分为模型、视图和控制器管理的复杂性。
It makes it easier to manage complexity by dividing an application into the model, the view, and the controller.
应用推荐