All of the code and data files used in this example are downloadable from links in the Resources section.
这个示例中使用的所有代码和数据文件都可以从参考资料部分的链接下载。
Models contain any and all code that relates to your database and other data structures.
模型包含与您的数据库和其他数据结构相关的所有代码。
Analyze all the gathered data, summarize it in a simplified document that points out which test or portion of code caused the problem, and send this information to the developers.
分析收集的所有数据,总结为一篇简单的文档,指出哪个测试或者代码部分导致了问题。然后把这些信息传给开发人员。
You must also create all the code for serializing the data going between the client and server.
此外,还必须创建用于序列化客户机和服务器之间的数据流的所有代码。
Now the code creates an XML document and appends nodes to it that hold all the data returned.
现在,该代码创建了XML文档并将节点附加到其上,从而保存所有返回的数据。
You do this by copying the impacted code units into a common framework and placing all of the data objects they refer to into a common data interface.
此工作是通过以下方式实现的:将受影响的代码单元复制到公用框架中,并将其引用的所有数据对象放置到公共数据接口中。
They encapsulate and abstract all of the data access code for creating, updating, deleting, and displaying information from your database, using JPA entities.
它们使用JPA实体装入并抽象出所有的,您的数据库中用于创建,更新,删除以及显示信息的数据访问代码。
It is obvious, especially with time-sensitive data, that all content and code should remain accurate and up to date.
显然,所有内容和代码都应该是精确的和最新的,尤其是对于时间敏感的数据。
You can switch back and forth between data and code sections, but when the program is assembled it will bring all of each section together into one unit.
您可以在数据部分和代码部分之间自由切换,但当程序被汇编时,会将所有部分汇编到一起,组成一个单元。
In order to build a middleware bridge between the front-end CGI display code and the back-end database and business logic code, an API that allows all necessary data access must be defined.
为了在前端CGI显示代码和后端数据库及业务逻辑代码之间构建一个中间件桥,必须定义一个允许所有必需数据访问的API。
All data, including dynamic SQL statements, user input data, user output data, and character fields in the SQLCA, is interpreted based on this code page.
所有数据,包括动态sql语句、用户输入数据、用户输出数据以及SQLCA中的字符字段,都是基于该代码页进行解释的。
The parser code receives a JSON file as input and returns a data dictionary (or an array) containing all the objects described inside the JSON file.
解析器代码接收一个JSON对象作为输入并返回一个数据字典(或一个数组),包含JSON文件中介绍的所有对象。
By building a DSL that encapsulates all the cited above capabilities, you are basically centralizing all data services code, resulting in a highly adaptable and maintainable SOA-based solution.
通过构建dsl来封装上述所有功能,您本质上是在集中所有的数据服务代码,从而产生高度可适应和可维护的基于SOA的解决方案。
This means writing code that works well for the basic conditions, when all the data is valid and all the conditions are as expected.
这意味着编写适用于基本条件的代码,即所有的数据都是可用的,所有的条件符合预期。
A form is bound to a specified database table and all data controls within can be used to display and edit the table's columns without writing code or SQL.
表单被绑定到指定的数据库表,其中的所有数据控件都可以用于显示和编辑表的列,无需编写代码或SQL。
On the other hand, you may choose not to use such constraints at all and rely on your application's code to manage its own data integrity.
另一方面,您可能选择根本不用这样的约束,而依靠应用程序的代码来管理自己的数据完整性。
Nothing is wrong with this code at all; it's just that instead of persisting XML, you really persist data and stuff it in XML, all in one step.
这段代码并没有任何错误;我们只是将数据持久化存储于XML 中,所有操作都在一步之内完成。
A daily replication schedule must be put in place and adhered to in order to keep code, data, and environment changes across all development sites in sync.
每天的复制计划必须保证所有站点的代码,数据,和环境的同步改变。
To keep data consistent across multiple entities in a denormalized context, schemas have to be “defined in code because it’s only code that can track all the relationships and maintain correctness.”
为了在去正规化的条件下,保证数据跨多个实体的一致性,schema必须“在代码中定义,因为那是唯一能跟踪所有关系和保证数据正确性的地方。”
Now we have looked at all of the data handling code. You have seen how to invoke a remote Web service and how to parse the XML that it returns.
现在我们已经了解所有数据处理代码,知道如何调用一个远程Web服务以及如何解析该服务返回的XML。
To protect against both XPath injection and other forms of code injection, you should check all data passed from your Web server to your backend services.
要防止XPath注入和其他形式的代码注入,应该检查所有从Web服务器传到后端服务的数据。
Use the following code to get all the configuration information from the server, find the PmiModuleConfig for an MBean, and bind the Stats data with the configuration data.
请使用以下的代码来从服务器获取所有的配置信息,查找某一mBean的PmiModuleConfig,并将配置数据和Stats数据绑定在一块。
Because Cheetah can compile template files to Python code, you can do all the template parsing up front and get the benefits of compiled code when you fill out the templates with dynamic data.
因为Cheetah可以将模板文件编译成Python代码,所以您可以预先解析所有模板,并在使用动态数据扩充代码时,从已编译的代码中获得好处。
This is to allow the Annotation builder to regenerate the code in method body based on all the doclet Tags in the J2C bean and data binding file, and to synchronize the project.
这令Annotation构造器能够根据J2Cbean和数据绑定文件中的所有的doclet Tag在方法体中重新生成代码,并且与工程同步。
The EGL Web project contains the EGL code, Web pages, and a sample database, all of which make up the logic, data, and interface of the application.
EGLWeb项目包含EGL代码,Web页,和一个样本数据库,以上所有形成了应用程序的逻辑、数据和接口。
We will also set up all the dynamic data we will need for the page, and write Action Handling Code to call an existing EJB component using the Quick Edit feature of WebSphere Studio.
我们也将设置页面需要的所有动态数据,并使用WebSphereStudio的QuickEdit功能编写ActionHandlingCode调用现有的EJB组件。
This is the optimal design for mobile Web applications, since it allows for all of the code and static markup to be cached on the device, and the user only waits for data from the server.
这是移动Web应用程序的优化设计,因为它允许将所有代码和静态标记缓存到设备上,用户只需等待来自服务器的数据。
This code selects all from the table, truncates it, and then selects all from it again to show that the data is gone. Verify that your results are the same as in Listing 9.
此代码选择表中的所有项,截短它并再次选择所有项以展示所有数据已经不在。
When editing test scripts, you must edit these elements (Figure 5) to incorporate the Rational Performance Tester data pool, custom code, reference, and other all functions that can be used.
在您编辑测试脚本时,您必须编辑这些元素(图5)以集成RationalPerformance Tester数据池、引用,而且可以使用其他所有的功能。
Instead of having the client code make two calls on Cart, one to obtain the contents and one for the total price, I want to send all of this data to the client at once.
为了不让客户代码对Cart做两个调用(一个获得内容,一个获得总价),我想把这些数据一次全都发给客户。
应用推荐