How to get some revealing module code to only run after DOM ready?
如何让一些暴露的模块代码只运行在DOM准备好了吗?
Create a new folder under Engine \ Modules that will contain the module code.
在Engine \Modules下创建一个将包含该模块代码的新文件夹。
For every code module, you should have a set of unit tests that exercises each of its methods.
对于每个代码模块,你应当有测试其所有方法的一组单位测试。
Task 2: Create a PHP code module to do the necessary business logic and the DB calls.
任务2:创建一个PHP代码模块来执行必需的业务逻辑和数据库调用。
Write the code for the module, including a module installer, a data-entry form, and a display template.
编写模块代码,包括模块安装程序,一个数据输入表单和一个呈现模板。
You can use the output from this custom code module in the HTTP request that you use for the movie search.
你可以使用来自搜索电影的HTTP请求中的自定义代码模块中的输出结果。
The ability to capture such requirements in a single code module, improving traceability.
在单个代码模块中捕捉这样需求的能力,提升可追踪能力。
In a small JSP application, it is common to see the data, business logic, and the user interface combined into one module of code.
在小型JSP应用程序中,经常会看到数据、业务逻辑和用户界面被组合在一个代码模块中。
You will develop a PHP code module to provide the core bank logic with the necessary database access using ODBC.
我们开发一个PHP代码模块来提供核心银行逻辑,并使用ODBC进行必要的数据库访问。
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.
由于一个自定义代码模块只能在一个测试环境中运行,因此您需要创建一个除了代码模块不包含任何其它东西的简单测试。
Listing 4 shows the code in the application module needed to lookup the created database connection pool.
清单4显示了在应用程序模块中查找创建的数据库连接池所需的代码。
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.
一个完全的自定义代码代码模块,您可以从中进行拷贝和粘帖。
The code in the custom login module is almost the same as the code from Scenario 5 used in the application.
这个自定义登录模块的代码与场景5中使用的应用程序中的代码几乎完全相同。
Listing 2 shows the code for the search module.
列表2显示了此搜索模块的代码。
Listing 7 shows the code for the module file that registers a URL as a source of tests and results.
清单7显示这个模块文件的代码,它注册一个URL作为测试和结果的源。
Cohesion, refers to the principle that inside a given module, all the code should work to accomplish a single goal.
内聚原则是指一个模块内部的所有代码应该只完成一个目标。
Development standards provide a set of reusable, common sense guidelines that developers should follow when delivering a code module or component.
开发标准提供一组可重用的常识性指导原则,开发人员在交付代码模块或组件时应该遵循这些指导原则。
The download ZIP file contains the completed EAR module and the code listings used in this tutorial.
下载ZIP文件包含完成的EAR模块和本教程中用到的代码清单。
You can download the full code for this example module in the download section below.
您可以从下载小节下载示例模块的完整代码。
A unit test is the initial testing of new and changed code in a module.
单元测试是模块中新代码和变更代码最初进行的测试。
Until you remove the code, the module remains in the module administration page, where, if you desire, you could re-enable the module.
除非您删除了代码,否则模块都会保留在模块管理页面上,并且可以重新启用该模块。
WSDL and code generation: This module takes care of generating client stub and server skeleton code from the WSDL file.
WSDL和代码生成:此模块从WSDL文件中生成客户端存根和服务器框架代码。
You'll get more details about our module, including specific examples of code.
您将详细地了解我们的模块,包括代码示例。
Task 6: Create a PHP code module that will act as a REST service to front-end the calls to the business logic in the other two PHP files.
任务6:创建一个PHP代码模块,它将作为REST服务,将调用转发给另外两个PHP文件中的业务逻辑。
The basic unit of GWT code is the module.
GWT代码的基本单元是模块。
A localization pack manager is the code module that manages the locating, loading, and accessing of a localization pack's resources.
本地化包管理器是管理本地化包资源的定位、装入和访问的核心模块。
If it's not required to unload a module after it's loaded, you can make several optimizations to reduce the amount of code needed for module management.
如果不需要在加载之后卸载模块,那么可以进行一些优化,减少模块管理所需的代码。
A module has metadata, an installer, code, and templates.
一个模块拥有元数据、一个安装程序、代码和几个模板。
To install a new module, download its code from its project page, extract it, and copy the module to Drupal's module subdirectory.
要安装新的模块,从它的项目页面下载模块代码,然后解压缩代码并将模块复制到Drupal的模块的子目录中。
应用推荐