If I want to validate this code in a white box manner, I have to separate UI-specific code from business code, which requires some refactoring.
如果我想以白盒方式验证这段代码,就必须将特定于用户界面的代码与业务代码分开,这就需要进行重构。
Developers don't need to write specific code in order to do this.
开发人员不必特意为此编写代码。
If a specific code is not shown in the list, you can add it manually.
如果特定的代码未在列表中显示,可手动添加。
The last thing I need to do is add the template engine-specific code.
我需要做的最后一件事情是添加模板引擎特定的代码。
For example the OS-specific code layout could look something like this.
例如,特定于操作系统的代码规划可能是类似这样。
This setup allows the HTML-specific code to be absent from your component.
这个设置允许特定于HTML的代码从组件脱离。
A utility JAR that includes the specific code for the thread pool implementation.
实用工具JAR,它包括用于线程池实现的特定代码。
The following figure presents a more "graphic" view of the OS-specific code layout.
下图从更为“图形化”的角度展示了特定于操作系统的代码规划。
How do you organize specific code for one or a few customers in your application?
你如何为一个或几个客户在您的应用程序组织特定的代码?
Even though you didn't write any Ajax-specific code, you have created an Ajax app.
即使您没有编写任何特定于Ajax的代码,也仍然创建了一个Ajax应用程序。
The GridApplication project contains the application-specific code we wrote in Part 2.
GridApplication项目包含了我们在本系列文章第二部分编写的特定于应用程序的代码。
Azure Grid provides you with a base solution template to which you add application-specific code.
AzureGrid为你提供了一个基础的解决方案模板,在其中你可以添加特定于应用程序的代码。
We need a way to override our reasonable defaults with some specific code to handle these situations.
需要一些处理这些情况的特定代码来覆盖合理的缺省值。
Many performance problems are related to application architecture rather than specific code problems.
很多性能问题常常和应用程序架构有关,而不是由具体的代码问题引起的。
Note: Some contributed modules are not as abstracted from MySQL-specific code as everyone would like.
注:有些贡献模块并没有从MySQL特定的代码方式中抽象出来。
But more generally, the OVC intends to set standards for data formats, not simply produce them with specific code.
不过更一般地说来,OVC的目的是建立数据格式标准,而不只是用特定的代码生成数据。
On one hand, it's a lot of very specific code to write to generate a restricted list of values that a client can use.
一方面,要生成一个可供客户机使用的受限制值列表,需要编写大量非常具体的代码。
If you ignore the JUnit-specific code in Listing 2, you can see that the test case is now quite neat and concise.
如果没注意清单2中特定于JUnit的代码,那么您可以看到,测试用例现在变得相当整洁、简练。
Now, with JAXP 1.3, you can parse, validate, and transform XML without ever writing a line of vendor-specific code.
现在,使用JAXP 1.3可以解析、验证并转换XML,而无需编写一行特定于开发商的代码。
Or you can hook your own language-specific code reformatter to the standard = command by setting the 'equalprg' option.
或者您可以设置'equalprg' 选项,将您特定语言的代码重新格式化程序连接到标准 =命令。
Using Web standards like DOM and ECMAScript reduces the amount of browser-specific code you have to write and maintain.
使用Web标准(如dom和ECMAScript)将减少您必须编写和维护的特定于浏览器的代码数量。
Therefore, an iSeries database can hold multiple code pages, even ASCII code pages, depending on the specific code page.
因此,一个iSeries数据库可以容纳多个代码页,甚至是ASCII 代码页,这取决于指定的代码页。
Future columns will look at specific code and tools to aid the transitions; this column addresses the design considerations.
今后的专栏将着眼于帮助进行转换的特定代码和工具;本专栏则侧重于设计注意事项。
After identifying scripts with Solaris-specific code, you need to search for equivalent modules that work on Linux as well.
在使用特定Solaris代码识别脚本之后,您需要搜索可以在Linux系统上运行的等价模块。
If your environment dictates the use of a specific code page, you need to know the basic meaning of a few Samba-specific terms.
如果您的环境要求使用某个特定代码页,那么您需要了解一些samba特有术语的基本含义。
In such instances, you need to delve a bit deeper into how character codes are converted using specific code pages on the Samba server.
在这类情况下,您需要深入研究如何使用Samba服务器上的特定代码页转换字符代码。
Terminology aside, Gustafson's point is valid -ignoring standards and littering your CSS with browser-specific code are both bad ideas.
抛开那些术语之后,古斯塔夫森的观点是有效的——忽略标准和使你的CSS代码只工作在特定的浏览器中的做法两个都是糟糕的主意。
The first relies on a nine-digit, product-specific code number that might, for example, appear in an advertisement for the item in question.
第一种方式基于一个9位数产品特定代码,例如出现在广告中的特定产品条目编码。
In this article, we're going to add the crucial back-end processing, as well as the Ajax-specific code to hook the gallery up to the back end.
在本篇文章中,我们将添加关键的后端处理以及一些特定于Ajax的代码以将图片库连到后端。
In this article, we're going to add the crucial back-end processing, as well as the Ajax-specific code to hook the gallery up to the back end.
在本篇文章中,我们将添加关键的后端处理以及一些特定于Ajax的代码以将图片库连到后端。
应用推荐