将问题拆解成更小的模块并使用代码来解决,这变得很普遍。
Breaking down problems into bite-sized chunks and using code to solve them becomes normal.
对于每个代码模块,你应当有测试其所有方法的一组单位测试。
For every code module, you should have a set of unit tests that exercises each of its methods.
如果需要的话,可以卸载模块来除去内存中所有的代码和变量。
Modules can be unloaded if needed which removes all the code and variables from memory.
代码本身没有改变,但是需要修改模块的元数据。
The code itself does not change, but the module metadata needs to.
任务2:创建一个PHP代码模块来执行必需的业务逻辑和数据库调用。
Task 2: Create a PHP code module to do the necessary business logic and the DB calls.
在单个代码模块中捕捉这样需求的能力,提升可追踪能力。
The ability to capture such requirements in a single code module, improving traceability.
它将允许您查看程序和装入模块中的数据和代码。
It will let you view data and code in your programs and in the loaded modules.
编写能够被特定的元素和属性调用的可重用代码模块。
Write reusable code modules that can be invoked for specific elements and attributes.
根据部署的代码模块的类型,部署程序调用不同的专用构造器。
Depending on the type of code modules being deployed, the deployer calls on different specialized builders.
上面的代码包含了必要的模块并定义了变量。
The code above includes necessary modules and defines variables.
我们可以通过代码、XAML文件、配置文件或者遍历目录来生成模块的目录。
The catalog of modules can be populated via code, a XAML file, a configuration file, or by walking a directory.
图1描绘了单一执行代码模块。
列表2显示了此搜索模块的代码。
下载ZIP文件包含完成的EAR模块和本教程中用到的代码清单。
The download ZIP file contains the completed EAR module and the code listings used in this tutorial.
使用这里描述的方法,您的代码将非常接近于符合CPAN模块格式。
Using the methodology described here, your code will be very close to compliance with the CPAN modules format.
SQL模块也必须包含格式模板代码,如 清单2 所示。
The SQL module must also contain the format template code as shown in Listing 2.
下载ZIP文件包含完整的EAR模块和本文所用的代码清单。
The included download ZIP file contains completed EAR modules and the code listings used in this tutorial.
您将详细地了解我们的模块,包括代码示例。
You'll get more details about our module, including specific examples of code.
有些问题需要重新编程并改变模块的全部代码逻辑。
Some issues require re-programming and changing entire sections of code logic.
如果使用sdo代码,模块可以在V7模式中运行,不需要修改代码。
If you did use SDO code, your modules can run in V7 mode without any coding changes.
业务功能更可能分散在多个模块的多个代码块中。
It's more likely that a business function will be found scattered across several blocks of code in several modules.
这是由于Spring模块组件代码存在缺陷。
This is due to a defect in the Spring modules component code.
该代码创建了一个Guice模块。
由于一个自定义代码模块只能在一个测试环境中运行,因此您需要创建一个除了代码模块不包含任何其它东西的简单测试。
Since a custom code module can only run in the context of a test, you will create a simple test that contains nothing except the code module.
这个自定义登录模块的代码与场景5中使用的应用程序中的代码几乎完全相同。
The code in the custom login module is almost the same as the code from Scenario 5 used in the application.
包装外观中所含的遗留代码的典型示例是一组相关模块,这些模块负责与远程语音设备管理平台进行交互。
A typical example of legacy code contained by a wrapper-facade was a group of related modules responsible for interacting with a remote telephony-device management platform.
AOP模块化了横切关注点,因此我要在代码中寻找横切关注点。
AOP modularizes crosscutting concerns, so I should look for crosscutting concerns in my code.
您可以从ear直接将任意二进制模块转换为源代码模块。
You can convert any of the binary modules to source modules directly from the EAR.
如果熟悉AOP,那么您已经知道代码纠结——将多关注点代码混合到一个模块中——会导致难于理解和难于维护的代码。
If you are familiar with AOP, you already know that code-tangling — mixing code from multiple concerns in a module — can lead to obscure and difficult-to-maintain code.
AOP模块化横切关注点。因此应该寻找那些分散和纠缠在代码中的代码。
AOP modularizes crosscutting concerns, so I should look for code that is scattered and tangled in my code.
应用推荐