其他人使用他们来动态生成代码。
默认情况下,在为模型生成代码时,EMF不会使用动态模板。
By default, EMF does not use dynamic templates when generating code for models.
在最高优化级别上,根据从正在执行的代码自动生成的动态分析数据执行重新编译。
At the highest optimization level, the recompilation is performed based on dynamic profiling data automatically generated from the executing code.
二者之间的区别是,动态代理在运行时动态支持服务端点接口,不会生成任何代码。
The difference between them is that dynamic proxy support a service endpoint interface dynamically at runtime without requiring any code generation.
您将看到如何将代码生成用于动态语言。
You'll see how code generation can work for dynamic languages.
每当模式改变时,通过动态生成样式表,可以极大地减少代码大小和减少引入剪贴错误的几率。
By generating the style sheets dynamically whenever the schema changes, you greatly reduce code size and the chance of introducing copy-and-paste errors.
对于链接内含有恶意代码的动态生成页面,情况也是一样的。
The same is true on a dynamically generated page if a link has malicious code in it.
动态生成的代码片段如清单25 所示。
The dynamically generated code fragment is shown in Listing 25.
动态代码生成——因为动态代码生成依赖于JIT编译器,所以对任何动态语言编译的过程也不能支持。
Dynamic code generation - Because dynamic code generation depends on the JIT Compiler, there is no support for any dynamic language compilation.
它是通过AJAX发出请求后,服务器端负责返回该部分页面的代码即时生成并返回的动态html。
It's live HTML generated on the fly by the chunk of code responsible for returning a partial page from the server after an AJAX request.
除此之外,这些sql语句还是动态的,很难找到生成sql的代码。
Add to this the fact that these SQL statements are dynamic, and it becomes even more difficult to track down the originating code that produced the SQL.
相比于把“列”映射成程序代码或映射文件中的实体变量,ActiveRecord是在运行中基于你的数据库schema动态生成映射的。
Rather than mapping columns to instance variables in application code or a mapping file, ActiveRecord generates them dynamically at runtime based on your database's information schema.
主要目标是使更改动态生成HTML的代码更加容易,控制处理HTTP(或Ajax)请求的方式,并实现简化开发的约定。
The main goals are to be able to change the code that dynamically generates HTML easily, control how the HTTP (or Ajax) requests are processed, and implement conventions that simplify development.
使用InitiateWorkbench,您可以为了生成ETL代码而定义动态的源到目标的映射规范。
Using the Initiate Workbench, you can define "in-flight" source-to-target mapping specifications for the purpose of ETL code generation.
SimpleXML动态生成元素和属性节点作为其他节点的属性,有利于获得几乎像ZendGoogle数据api类一样可读的节点遍历代码。
SimpleXML's generation of element and attribute nodes on the fly as properties of other nodes makes for node traversal code that is almost as readable as the Zend Google data API classes.
注意,本文中示例应用程序仅使用了动态SDO,虽然EMF代码生成器也为数据对象的静态代码生成提供了完整的支持。
Note that the sample application for this article utilizes only dynamic SDO, although the EMF code generator also provides full support for static code generation of data objects.
甚至是动态语言框架也会在某些地方使用代码生成技术,如初始化应用结构、关键的应用代码等等。
Even frameworks that specialise in dynamic languages still use code generation for areas like the initial application structure, key application artifacts and so on.
这使得服务器动态生成远程调用服务器端组件的代码。
This lets the server generate code that calls the server-side components remotely on the fly.
预先编译的代码有着静态的本质——与JIT编译器动态生成的代码不同,因而不可能在经过一段时间后,得益于常用方法的进一步优化。
Because of its static nature, precompiled code — unlike code generated dynamically by a JIT compiler — can't benefit from further optimisations of frequently used methods over time.
当然,一旦移除了JIT,你将无法使用任何动态生成的代码。
Of course, once you remove the JIT you will not be able to use any dynamically generated code.
接下来会在运行期(通过动态语言或反射技术)执行主动代码生成工具在开发期所执行的动作。
They then perform at runtime (via a dynamic language or reflective techniques) what would have been performed by an active generator at development time.
不要动态地生成和执行代码。
Cheetah生成了一个定制python类,该类实现代码来合并模板定义和动态数据。
Cheetah generates a custom Python class that implements code for merging the template definition with dynamic data.
CommunityEdition不需要这一额外的代码生成步骤,因为它使用动态代理生成。
Community Edition does not require this additional code generation step because it USES dynamic proxy generation.
使用Ajax在Web上动态生成对象使页面在每次加载时都产生不同的HTML代码。
Using Ajax to dynamically generate the object on the Web can make the HTML code different each time a page is loaded.
只需要一行代码,这行代码映射到一个数据模型,并动态生成一套webforms。
With one line of code, this code maps a data model to a set of dynamically generated web forms.
Rails更喜欢清楚的代码而不是配置文件,而Ruby语言的动态性质在运行时生成了大部分管道代码。
Rails prefers explicit code instead of configuration files, and the dynamic nature of the Ruby language generates much of the plumbing code at runtime.
这样做有利于1代码混淆,及2在动态代码生成不允许的环境下使用Ruby。
It will be useful for 1 code obfuscation 2 use Ruby on environments where dynamic code generation is not allowed.
创建动态widget——包含强大的widget创建环境,使任何技能水平的开发人员都能快速生成widget,而无需编写代码。
Create dynamic widgets: includes a powerful widget creation environment that enables developers of all skill levels to rapidly generate widgets without coding.
如果函数是虚函数,并且调用是通过引用或者指针,编译器基于动态类型生成代码确定调用哪个版本。
If the function is virtual and the call is through a reference or pointer, then the compiler generates code to determine which version to run based on the dynamic type of the object.
应用推荐