However, keeping the two isolated does not serve any useful purpose. It also suggests adding a layer of indirection to join and mediate between presentation and business logic layers.
然而,只是简单的将二者分离开无法实现有效的功能,还需要加入一个间接层以连接并协调表现层与业务逻辑层。
The Presentation layer and the Business Logic layer can be on two different machines and can be offered by different J2EE platform providers.
表示层和业务逻辑层可以位于不同机器上,也可以由不同的J2EE平台供应商提供。
MVC developers can frequently "cheat" by including business logic code directly in the presentation layer, instead of the service layer where it belongs.
MVC开发人员通常直接在表示层中包含业务逻辑代码进行 “欺骗”(而不是包含到它所属的服务层中)。
It accepts the request from the browser, requests the service from the business logic layer, generates the presentation, and responds to the browser.
它从浏览器接受请求,从业务逻辑层请求服务,生成表示并对浏览器做出响应。
Business rules are centralized into the business logic layer that serves as an intermediary for data exchange between the presentation layer and the data access layer.
业务规则可以集中到业务逻辑层,该层充当表示层和数据访问层之间的数据交换的中间层。
Model refers to your data, View to your presentation layer, and Controller refers to the application or business logic.
模型指数据,视图指表示层,而控制器指应用程序逻辑或业务逻辑。
The service requests generated by the end-users at the presentation layer are handled at the business logic layer, where the IDs are treated as configuration parameters to the business services.
最终用户在表示层生成的服务请求在业务逻辑层进行处理,在其中会将ID作为业务服务的配置参数进行处理。
The ability to use PHP to move freely between the business logic layer and the presentation layer (using the PHP template engine) was also very appealing.
为了在业务逻辑层和表示层之间自由地移动(使用PHP模板引擎),还需要掌握PHP。
The presentation layer can call the validation logic on the data provided by a form before passing it to the domain model.
展示层可以调用验证逻辑对表单提供的数据进行验证,然后再将该数据传递给域模型。
The popular Presentation Model (see Resources) advocates separating out the state and business logic of an application into a model layer that is separate from the GUI controls in the view.
流行的PresentationModel (请参阅参考资料)提倡将应用程序的状态与业务逻辑分开放入模型层中,而模型层是从视图的GUI控件中分离出来的。
For instance, the Presentation layer (Web container) can be provided by Tomcat and the Business Logic layer (EJB container) can run on WebSphere.
比方说,表示层(web容器)可以由Tomcat提供,同时,业务逻辑层(ejb容器)可以运行在WebSphere上。
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.
典型的Web服务使用远程表示范例,这意味着所有的视图逻辑在客户机上执行,而应用程序逻辑和数据层(控制器和模型)则驻留于服务器上。
We chose to use the PHPTemplate engine because it is the default engine and offers a consistent use of PHP across the logic layer, the modules, and the presentation layer.
我们选用PHPTemplate引擎,因为它是默认引擎并以一致的方式跨逻辑层、模块和表示层使用PHP。
This closed model allows Velocity to provide a decoupled templating presentation layer, cleanly separated from any application business logic or data management code.
这种封闭的模型使Velocity能够提供分离的模板表示层,与任何应用程序业务逻辑或者数据管理代码清晰地划分开。
After the automatic conversion, the plug-in is needed to manually update the converted forms for the presentation layer, XForms instances, and business logic.
在自动转换后,需要使用此插件手动更新转换后表单的表示层、X Forms实例和业务逻辑。
In the domain of J2EE Web applications, the model is the business logic of an application, and the JSP pages comprising the presentation layer are the view.
在J2EEWeb应用程序领域中,模式是应用程序的业务逻辑,视图是包含表示层的JSP页面。
Tune in then to learn how custom tags can facilitate the separation between presentation and business logic, while also letting you incorporate dynamic data into the presentation layer.
学习自定义标记如何促进表示和业务逻辑之间的分离,同时还让您可以将动态数据合并到表示层。
This limitation keeps templates simple for non-programmers and keeps programmers from putting business logic where it doesn't belong, the presentation layer.
这种限制可以为非程序员保持模板的简单性,同时还可以让程序员不会将业务逻辑放到不属于自己的地方,即表示层。
The application presentation layer is composed of JSPs, servlets, or portlets that get the program data from the back-end (or business logic) and create the layout HTML (or another markup language).
应用程序表示层由jsp、servlet或portlet组成,它们从后端(或业务逻辑)获取程序数据,然后创建布局HTML(或其它标记语言)。
This structure is an application of the 3-layer pattern, which separates application logic into Presentation, Business, and Integration/Persistence categories.
这个结构是3-layer模式的应用,它把应用逻辑分成Presentation、Business和Integration/Persistence这几个类别。
The example in this article consists of the Data Abstract Layer (DAL), Data Transfer Objects (DTOs), the Business Logic Layer (BLL), the Presentation Layer, and supporting helper classes.
本文中的示例包含数据抽象层(DAL)、数据传输对象(DTO)、业务逻辑层(BLL)、表示层和用于支持的helper类。
Spring framework is used to tie together the components in the Data Access Layer, the Business Logic Layer, and the Presentation Layer.
Spring框架用于将数据访问层、业务逻辑层和表示层中的各组件结合在一起。
This part describes a practical implementation of page templates and the separation of application logic from the presentation layer.
这一部分,我们谈论页面模板的具体实现及应用逻辑与表现层的分离。
If you want to stay "pure" to MVVM, in general, it'd be better to build a converter, which keeps the logic completely within the presentation layer (View).
如果你还想留下来“纯”MVVM,一般来说,最好建立一个转换器,使逻辑完全在表示层(视图)。
Additionally, the presentation layer might communicate with the data access logic in the middle tier through a service such as a service.
此外,展示层可以透过服务(例如,服务)与中介层内的资料存取逻辑进行通讯。
Business actions. These organize business logic by procedures where each procedure handles a single request from the presentation layer.
业务行为。这些组织业务的逻辑处理程序,每个程序一个单一的请求套层。
However, a common application design practice is to separate the presentation layer from business logic and encapsulate the business logic in business objects.
然而,常见的应用程序设计是将展示层与商务逻辑分开,并且将商务逻辑封装在商务物件中。
This software USES the present small and medium-sized software mainstream architecture that three layer architecture, the data layer, business logic layer, presentation layer, three layer.
本系统程序采用目前中小软件的主流架构即三层架构,分数据层,业务逻辑层,表示层三层。
View layer: mainly used to achieve presentation logic, to achieve dynamic interaction with the user.
视图层:主要用来实现表示逻辑,实现与用户动态的交互。
View layer: mainly used to achieve presentation logic, to achieve dynamic interaction with the user.
视图层:主要用来实现表示逻辑,实现与用户动态的交互。
应用推荐