Behavior for these entities would end up being pushed up to the service or the view layer.
这些实体的行为最终由服务或视图层实现。
You may even agree with the argument that validation code doesn't belong in the view layer.
您甚至可能同意验证代码不属于视图层的说法。
For instance, don't put it between the view layer and the controller layer of an application.
例如,不要将它放在应用程序的视图层和控制层之间。
VelocityViewServlet provides a convenient view layer for construction of Web-based UI based on templates.
VelocityViewServlet以模板为基础为基于 Web的UI构造提供了方便的视图层。
According to best practices, the view layer communicates with the control layer, which in turn communicates with the business layer.
依照最佳实践,视图层和控制层进行通信,控制层将通信转至业务层。
If you change the database structure, you need to accordingly change the data access layer, view layer.
如果改变了数据库结构,就需要相应地改变数据访问层、视图层等。
You can see that the amount of scripting code in the view layer increases with the use of Ajax, causing three significant drawbacks.
可以看出,由于使用了Ajax,视图层的脚本编写量增加了,从而导致三个明显缺陷。
Because database tables by themselves do not have behavior, it's tempting to put the behavior of domain-model entities in services or the view layer.
因为数据库表本身没有行为,开发人员常常把领域模型实体的行为放在服务或视图层中。
For quick prototyping efforts it is acceptable to combine the database access in the view layer, compromising the strict separation of data from view.
为了快速开发原型,将数据库访问合并到视图层,打破数据与视图严格分离的限制,这是可以接受的。
And putting entities' behavior in services or the view layer scatters the entities' core logic throughout the application, causing maintenance problems.
另外,把实体的行为放在服务或视图层中,会导致实体的核心逻辑分散在应用程序中的许多地方,导致维护问题。
The logic layer is responsible for the data processing, and it locates between view layer and database layer providing the data for the view layer.
业务层处理数据,业务层处于表示层和数据库层的中间,提供表示层所需的数据,它实际的角色是表示层和数据层的中介。
The well formed and readable XML pages make the view layer of the system very easy to expend and maintain, which can meet the increasing and changing requirements.
XML页面具有良好的结构和很好的可读性,这使得视图层具有了很高的可扩展和可维护性,能够满足不断增加和变化的需求。
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).
配置应用程序的主要层——在RentaBike应用程序中,我公开了一个数据访问对象(dao)层、一个控制器层和一个视图层(参阅清单1)。
On the other hand, users now want the view layer can provide multiple kinds of presentation for same data, while the traditional view layer model only supports single HTML view.
另外用户要求视图层能够对相同的数据提供多种表现形式,而传统的视图层模型只支持单一的HTML表现形式。
The Naked Objects pattern encourages the developer to focus on supplying a rich domain model with both data and behaviour, and supplies a view layer and a thin controller layer automatically.
NakedObjects模式鼓励开发者关注于设计带有数据和行为的富领域模型,而它则自动提供一个展现层和一个瘦控制层。
In order to solve these problems, a view layer XML render engine based on XML and MVC design model is proposed in this article, this XML render engine is based on J2EE software developing platform.
为了解决这些问题,本文在J2EE软件开发平台基础上,设计了一种基于XML技术和MVC设计模式的视图层xml渲染引擎。
The View layer is thin and supplies no business logic.
视图层比较单薄,它不提供业务逻辑。
In an MTV architecture, the View layer describes what data should be presented to the user.
在MTV架构中,视图层描述应该向用户显示哪些数据。
View layer: mainly used to achieve presentation logic, to achieve dynamic interaction with the user.
视图层:主要用来实现表示逻辑,实现与用户动态的交互。
The Template is the layer that defines how the data should be presented to the user, whereas this is considered the View layer in an MVC pattern.
模板层定义向用户显示数据的方式,这相当于 MVC模式中的视图层。
A JSP object combines with a respective ActionForm to form your application's View layer, where almost every form field of the JSP object maps to an attribute of the corresponding ActionForm.
一个JSP对象与各自的ActionForm对象相结合,构成应用程序的view层。在该层,几乎JSP对象的每个表单字段都映射到相应的ActionForm的属性。
If the Web application is highly dependent on taglibs, this approach will eventually lead to an increase in view-layer page size.
如果Web应用程序高度依赖标记库,这种方式最终会造成视图层页面尺寸的增大。
Middleware and tools connect view-layer UI technologies to model-layer Web services and data.
中间件和工具将视图层ui技术连接到模型层web服务和数据。
Middleware and tools connect view-layer UI technologies to model-layer Web services and data.
中间件和工具将视图层ui技术连接到模型层web服务和数据。
应用推荐