模板层背后的思想就是表示层代码与业务层代码分离。
The idea behind the Template layer is that the presentation layer code is separate from the business-layer code.
该层的作用在于针对不同的数据存储技术,从业务逻辑中分离数据访问代码。
The power of this layer is in separating data access code from the business logic for disparate data store technologies.
这样,业务逻辑就隐藏在技术代码层中,只有开发人员和IT社区能够理解。
This buries the business logic is buried inside the layers of technical code, where it can only be understood by the developer and it community.
这种封闭的模型使Velocity能够提供分离的模板表示层,与任何应用程序业务逻辑或者数据管理代码清晰地划分开。
This closed model allows Velocity to provide a decoupled templating presentation layer, cleanly separated from any application business logic or data management code.
我门需要在消息处理中为FORM1写一行“粘合代码”,请求业务层执行适当的逻辑。
The "glue code" we need to write for Form1 is just a line in the message handler to request the business layer execute the appropriate logic.
管理人员Jeff:“让我看看,这个代码是Joe在几个月前编写的,需要对业务层和UI做一些变动。”
Jeff the manager: "Let's see, that code was written by Joe a few months back." It will require changes to the business layer and a few changes to the UI.
MVC开发人员通常直接在表示层中包含业务逻辑代码进行 “欺骗”(而不是包含到它所属的服务层中)。
MVC developers can frequently "cheat" by including business logic code directly in the presentation layer, instead of the service layer where it belongs.
逻辑视图中的三个软件层(表示层、业务层和数据层)是以代码形式被物理实现,并部署到这些节点上。
The three software layers in the logical view (presentation, business, and data) are physically implemented as code and deployed onto these nodes.
从业务逻辑层中解耦browserRequestHandler和Resource Request Handler有助于促进代码重用,并能实现灵活和可扩展的架构。
Decoupling the Browser Request Handler and Resource Request Handler from the business logic layer helps facilitate code reuse, and leads to a flexible and extensible architecture.
我们在Form 1中添加一些代码来访问业务层,以下便是BusinessLayerProxy中的代码,来请求和执行业务逻辑。
We added code to Form1 to access the business layer. Here's the code in the BusinessLayerProxy to request and execute the business logic.
尽量减少应用程序集(客户端exe程序集)的代码。采用类库而不要包含业务逻辑层代码。
Minimize code in application assemblies (EXE client assemblies). Use class libraries instead to contain business logic.
本文叙述根据数据库架构信息和定制的代码模板自动生成业务逻辑层代码的实现方法。
According to the database schema information and customized code template, code is built for business logic layer.
本文叙述根据数据库架构信息和定制的代码模板自动生成业务逻辑层代码的实现方法。
According to the database schema information and customized code template, code is built for business logic layer.
应用推荐