首先,声明式编程询问用户他们想要做什么事。
First declarative programming asks the user what they want to do.
声明式编程是一个强大的工具。
表1显示了几种常见的命令式或声明式编程语言。
Table 1 shows several common programming languages categorized as either imperative or declarative.
命令式编程和声明式编程方法之间的一个关键差异是完整性。
One critical difference between imperative and declarative programming methodologies is the notion of completeness.
这支持数据选择方法从过程序编程转向声明式编程的大趋势,可以降低IT开发和维护的总费用。
This supports the general trend toward data selection over procedural programming to lower overall IT development and maintenance costs.
还有其他许多的示例都说明了使用DojoToolkit 的声明式编程表单如何能用在J2EE应用程序内。
There are numerous other examples of how declarative forms of programming using the Dojo Toolkit can be used within a J2EE application.
第一个就是我们所看到的更加声明式的编程风格。
The first one being this move that we see toward more declarative styles of programming.
但是,现在出现了声明式系统,这改变了编程的意义。
Today, however, the rise of declarative systems is changing the programming landscape.
针对web容器以及ejb容器的JEE声明式和编程安全性已在其他资料中加以介绍,因此不会作为本文的重点。
JEE declarative and programmatic security for the Web container as well as the EJB container is covered in other materials, and are not the focus of this article.
注意,JEE安全模型对web容器和ejb容器支持声明式安全授权以及编程安全性。
Note that the JEE security model supports declarative security authorization as well as programmatic security for both Web containers and EJB containers.
由于您不能通过编程传递事务上下文,因此 API层必须使用声明式事务模型,这表示容器将管理事务。
Because you cannot programmatically pass a transaction context, the API layer must use the declarative transaction model, meaning that the container manages the transaction.
因为宏可以以任何方式展开常规代码,所以如果声明式语言不能满足需要,那么随时可以切换回命令式编程。
Since the macro expands to regular code anyway, you can always switch back to imperative programming if the declarative language doesn't suit your needs.
分析人员需要了解最初的声明式授权、通过编程形式授权的扩展和二者的交互。
An analyst will need to understand the initial declarative authorization, the extensions by programmatic authorization, and the interaction of the two.
声明性编程样式在声明约束方面几乎一直比命令式或过程序样式更直接。
A declarative programming style is almost always a more direct way of stating constraints than is an imperative or procedural one.
声明式的编程(例如规定什么)代表规则的选择模型:根据规则取值为true还是false,有些东西得以触发(例如动作)。
Declarative programming (i.e., prescribing the what) represents the paradigm of choice for rules: something gets triggered (i.e., an action) based on whether a rule evaluates to true or false.
注意清单1缺乏事务管理(没有编程序或声明式事务注释或代码)。
Notice in Listing 1 the lack of transaction management (no programmatic or declarative transaction annotations or code).
使用WorkplaceForms不需要大量编程技巧;它使用一种以表单为中心的编程语言,这种语言基于声明式的业务规则(XFDL)。
Extensive programming skills are not required; Workplace Forms USES a form-centric programming language based on declarative business rules (XFDL).
J2EE规范描述了两种事务界定的模型:编程序(programmatic)和声明式(declarative)。
The J2EE specification describes two models for transaction demarcation: programmatic and declarative. Table 1 breaks down the two models.
命令式编程是绘画,逻辑编程是雕塑,声明编程是艺术字,函数式编程是工艺美术品。
Imperative programming is painting, logic programming is sculpture, declarative programming is word art, functional programming process art.
命令式编程是绘画,逻辑编程是雕塑,声明编程是艺术字,函数式编程是工艺美术品。
Imperative programming is painting, logic programming is sculpture, declarative programming is word art, functional programming process art.
应用推荐