这样做,您就会用到自定义代码模块。
创建一个单独的目录存储模块代码和相关资源。
Create a separate directory for the module's code and associated resources.
渐进地在目标平台上编写代码以取代对遗留模块的依赖。
Gradually write code on the target platform to replace dependence on legacy modules.
另外,可以在下面的代码中看到这个体系结构的模块性是多么强。
Also, you can see in the code below just how modular the architecture is.
您可以从下载小节下载示例模块的完整代码。
You can download the full code for this example module in the download section below.
一个完全的自定义代码代码模块,您可以从中进行拷贝和粘帖。
GetTestData.java: a completed custom code module from which you can copy and paste.
一个完全的自定义代码代码模块,您可以从中进行拷贝和粘帖。
SetupTestDataArea.java: a completed custom code module from which you can copy and paste.
该模块的代码必须通过JNDI查找连接池。
The module's code must look up the connection pool through JNDI.
GWT代码的基本单元是模块。
在Engine \Modules下创建一个将包含该模块代码的新文件夹。
Create a new folder under Engine \ Modules that will contain the module code.
而tid_0000线程又会运行两个模块中的代码。
我们将代码分解到不同的类或模块中。
然后您从源代码控制中导入您期望变更的项目或模块。
You then import from source control the projects or modules that you expect to change.
包结构对代码加以组织并推动模块化和维护。
The package structure organizes the code and facilitates modularity and maintenance.
由于代码是模块化的,因此更容易编写和维护。
Because the code is modular, it is easier to write and maintain.
单元测试是模块中新代码和变更代码最初进行的测试。
A unit test is the initial testing of new and changed code in a module.
这些模块使得有可能编写出像清单2中所示的代码。
但是缺点是它仍是一个大代码库,不是真正的模块。
But the downside is that it's still one big codebase, not really modular.
你要是有非模块化的代码,就很难对它们进行模块化。
If you have existing code that is non-modular, it can be difficult to modularize it.
因此我们的代码能够很好的模块化。
然后,您将学习如何通过外包你的代码为多个模块有效地工作。
Then, you'll learn how to work efficiently by outsourcing your code into multiple modules.
如何让一些暴露的模块代码只运行在DOM准备好了吗?
How to get some revealing module code to only run after DOM ready?
an nouncement模块的完整源代码参见本系列的第14部分。
For the complete announcement module source code, see Part 14 of this series.
相关的代码可能跨了好几个模块。
Ksplice更容易处理这种“模块化”对象代码。
Such "modular" object code is more easily manipulated by Ksplice.
在某些初始化代码中,打开ActiveRecord基类并添加acts_as _模块。
In some initialization code, open the ActiveRecord base class and add your acts_as_ module.
负责软件代码和电子控制模块的集成。
Integrate Software Code onto target Electronics Control Module.
典型的模块是具有单一用途的内聚代码块。
A typical module is a cohesive block of code dedicated to a single purpose.
典型的模块是具有单一用途的内聚代码块。
A typical module is a cohesive block of code dedicated to a single purpose.
应用推荐