重新编写或复制可能有错误的配置代码而不是重用模块。
Rewriting or copying possibly buggy configuration code instead of reusing a module.
将文件位置作为命令行参数传入是配置代码最简单的方法。
Passing the file location in as a command-line parameter is the easiest way to configure your code.
为什么不在cfengine中做呢?它产生100行可读的配置代码。
Why not do it in cfengine, and produce 100 lines of readable configuration code?
在启动后,安全代理内部的随需应变配置代码将读取静态路由文件并构建内存路由数据。
At startup, the on demand configuration code inside the secure proxy reads the static route file and builds the in-memory routing data.
为了创建一个保持客户的全新方式,仍然可以通过扩展接口、对容器添加配置代码来找到客户。
To create a completely new way to persist customers, you can still locate a customer just by extending the interface and adding configuration code to the container.
在下一节中,我会继续采用通用验证器的实现,在那里您会真正开始发现可重用和可配置代码的价值。
I'll continue with the generic-validator implementation in the next section, where you'll really begin to see the value of reusable and reconfigurable code.
在应用程序中进行了其他一些操作之后,您可以获得能够补充Firebug (Firefox扩展)的配置代码。
After you have done a few other things within the application, you may have profiling code to supplement Firebug (a Firefox extension).
重新编写或复制可能有错误的配置代码,而不是重用模块:AppConfig对这一点相当稳定,并且到该模块的接口不大可能更改。
Rewriting or copying possibly buggy configuration code, instead of reusing a module: AppConfig is quite stable at this point, and the interface to the module is not likely to change.
例如,Rational Software Architect目前可为Web服务和默认(SCA)绑定生成sca配置代码。
For example, Rational Software Architect currently generates SCA configuration code for the web service and the default (SCA) bindings.
您可以直接通过Samba导出任意数量的home目录,无需使用 [homes] 代码段来键入单独的配置代码段。
You can easily export any number of home directories through Samba without having to type a separate configuration section by using the [homes] section.
这个特性对于客户端是无缝的;不需要进行配置或特殊代码就可以在服务中启用该特性。
This is all seamless to the client; no configuration or special code is required to enable this feature in the service.
所有的资源包括代码,文档和配置文档都应该划分成几个组件。
All of the sources including code, documents, and configuration files should be divided into several components.
因此示例代码将单独设置配置信息。
So the example code instead sets this configuration information separately.
这些函数优化您的PHP配置和代码,以防止对每个请求进行不必要的文件状态检查,从而减少响应时间。
These optimize your PHP configuration and code to prevent unneeded file status checks on every request, which can slow down response times.
文本模板可以生成流程控制的代码和配置文件。
The text template can generate code and configuration files that implement that flow of control.
尽管服务器公开了影响行为的配置,但实际代码不可用,因而有时必须设法进行推论,而不是直观的检查。
Although the server exposes configurations that affect the behavior, the actual code is not available and so it is sometimes necessary to resort to deduction rather than straightforward inspection.
现在,我们将演示您需要在自己的计算机上设置的所有配置和代码。
We will now take you through all the configuration and code you will need to set this up on your own machine.
最后,我将介绍这个应用程序使用的详细代码和配置参数。
Finally, I'll describe the code level details along with the configuration parameters used for this application.
本文还展示了如何通过示例代码配置和定制应用程序客户机。
It showed how to implement your own application clients by the steps to configure and customize the application client with sample code.
当配置是代码的核心目标时,注释工作得特别好。
Annotations work especially well in this case when the configuration is core to the purpose of the code.
本文提供的示例代码和配置充分考虑了这些更改。
The sample code and configurations provided with this article have been overhauled with these changes in mind.
代码作为配置:类似于驱动依赖注入框架的XML文件。
Code as Configuration: These are things such as an XML file that drives a dependency injection framework.
应用程序操作(如代码或配置更改)需要在分析完成之后进行。
Appropriate actions (such as code or configuration changes) need to be taken after the analysis is complete.
每个瘦工作站只需少量的代码和配置就可以链接到代码服务器。
Each thin workstation needs only a minimal amount of code and configuration to establish links to a code server.
其他的视图帮助使用者定位在配置运行期间,代码覆盖的间隔。
Other views help users locate gaps in code coverage during profiling runs.
开发者必须重复代码中已有的信息,从而将配置和代码联结起来。
They have to repeat information already in the code in order to connect the configuration to the code.
在我的配置上,这段代码前三次运行的执行时间是10.81、10.79和10.80秒。
For this particular code, the first three runs measured execution times of 10.81, 10.79, and 10.80 seconds on my configuration.
使用DI,可以通过配置容器或在代码中实现注入,让容器注入适合的客户类。
With DI, you can allow the container to inject the appropriate customer class either by configuring the container or implementing the injection in the code.
如果这些都是通过配置来建立,例如现在你的代码依赖于配置并且重新设计。
If these are set up in configuration, for example, now you've got code that's dependent on your configuration everywhere, and you're back at square one.
以一种改进的方式测试新配置和代码更改
Testing new configuration and code changes in an improved way
应用推荐