这是一个非常强大的功能,因为它支持现有设计和代码的按需扩展(参见参考资料)。
This is a very powerful capability because it enables an on demand extension (see Resources) of existing design and code.
按需脚本可能包含打算攻击XXS等安全漏洞的恶意代码。
On-demand scripts can include malicious code aimed at exploiting security vulnerabilities such as XSS.
当这些代码存根被调用到的时候,实际的执行代码就会被按需下载下来(on demand)。有些时候,这些执行代码在运行前,也可能会通过后台被传送下来。
The rest of the application's code is replaced by short stubs; their actual function code is transferred lazily in the background or on-demand on first execution.
MacRuby按需编译所有东西(当代码需要实际运行时)。
MacRuby compiles everything at demand (when the code is actually meant to be run).
有了应用程序的“正确”运行,代码迁移的最后阶段就是按需要优化代码。
With the application running "right," the final stage in code migration is to optimize the code as required.
通过确保按需脚本被验证并确保从那些脚本生成的内容被适当编码以阻止恶意代码的执行,您可以避免这类漏洞。
You can prevent this vulnerability by ensuring that on-demand scripts are validated and that content generated from the scripts is encoded properly to prevent execution of malicious code.
在包含对话框的代码的类中,按需要创建任意多个属性,以公开对话框的必需信息。
In the class containing the code for your dialog box, create as many properties as needed to expose the necessary information for your dialog box.
在包含对话框的代码的类中,按需要创建任意多个属性,以公开对话框的必需信息。
In the class containing the code for your dialog box, create as many properties as needed to expose the necessary information for your dialog box.
应用推荐