XSL完成此任务,并在其上构建规范,从而允许应用程序抛弃其所有的专用转换代码。
XSL took this task and built a specification upon it, enabling applications to ditch all of their proprietary transformation code.
第二个步骤是T4的引擎编译转换类为一个程序集并执行该代码,以产生了输出文本文件。
In the second step, the T4 engine compiles the transformation class into an assembly and executes the code, generating an output text file.
该程序将数组节点转换为说明性更强的变量名,从而使代码更易于阅读。
The program transfers the array nodes into more descriptive variable names, making the code easier to follow.
总而言之,在应用程序中应该使用二进制数据类型来与DB 2交换XML,因为这样做可以避免不必要的代码页转换。
In a nutshell, use binary data types in your application for exchanging XML with DB2 as this avoids unnecessary code page conversion.
除了促进代码重用,它还可以将复杂的转换分成易于理解的程序块。
In addition to promoting code reuse, it can also break complex transforms into chunks that are easy to understand.
代码将会通过UML2API来读取模型,通过JET技术帮助您编写转换程序以及将文本导出到文件系统资产中。
The code will leverage the UML2 API to read the model, and JET technology to help you write the transformation itself and export the text to filesystem resources.
因为代码的交叉编译发生于字节码级别,所以其过程并不需要源文件转换——这就意味着开发者仍旧可以使用Visual Studio.Net作为他们可移植程序的开发环境。
Since the code is cross-compiled at the bytecode level, there is no source conversion - this means that Visual Studio.Net remains the sole development environment for the ported application.
这样,我们已经完成了这个示例应用程序的转换处理代码!
And with that we're done with the conversion processing code for the example application!
除了映射数字和字节字段,在为您的本地语言应用程序选择了正确的代码页时,它还将字符串数据转换成适当的代码页。
In addition to mapping numeric and byte fields, it also converts string data to the appropriate codepage when the correct codepage for your native language application is selected.
换句话说,编译器生成的代码与您手工编写的不用泛型、检查程序的类型安全后进行强制类型转换所得到的代码基本相同。
In other words, the compiler generates pretty much the same code you would have written by hand without generics, casts and all, after checking the type-safety of your program.
运行表示技术的引擎或编译程序将标记页面转换为适当的格式,并且不需要修改任何代码(典型情况下)。
Running the engine or compiler for the presentation technology converts it to the proper format, and no code changes have to be made (in the typical case).
AMDD明显地严重依赖模型和转换,将应用程序代码的未来的工程自动化。
AMDD obviously relies heavily on models and transformations to automate the forward engineering of application code.
一旦开发了框架以及相关的插件,就必须开发模型转换来生成利用那些资产的应用程序代码。
Once a framework and associated plug-ins have been developed, model transformations must be developed to generate application code that leverages those assets.
当您碰到字符转换方面的问题时,首先要识别应用程序和所涉及的DB 2UDB数据库服务器使用哪些代码页。
When you encounter problems with character conversions, first identify which code pages are being used by the application and the DB2 UDB database server involved.
所生成的链接代码使用所选数据绑定框架处理数据结构与xml之间的转换细节,让您的应用程序直接访问数据结构。
The generated linkage code handles the details of converting data structures to and from XML using your chosen data-binding framework, giving your application direct access to the data structures.
在AMDD方法中,通过现有应用程序框架之上的模型转换来生成应用程序代码,这是基于技术框架的。
In the AMDD approach, the application code is generated via model transformations on top of an existing application framework, which is based on a technical framework.
还请注意,PHP应用程序代码量达到最少,因为大部分业务逻辑和转换位于查询中。
Also note that the amount of PHP application code is minimal, since most of the business logic and transformation is in the query.
该迭代过程运行并重新运行原始的应用程序源代码,以确保高质量的转换。
This iterative process enables the original application source code to be run and rerun to ensure a high-quality transformation.
可以编写类似的代码或者插件程序,将您自己流化的或者复杂的日志转换为格式良好的HTML文件,从而获得更好的可读性和易用性。
You could write similar code or a plugin to convert your own streamed or complex logs into well-formatted HTML files for better readability and easier use.
使用符合快速应用程序开发理念的代码级模式、模板和模型转换方法,可以使实现加速。
Implementation can be accelerated using code-level patterns, templates, and model-transformation methods following a rapid application development paradigm.
应用程序代码也往往捕获并转换异常,其间常常废弃许多详细信息。
Application code also tends to catch and translate exceptions, usually discarding many details in the process.
就几年前,移动还只是转换内容代码来适应设备,而现在移动体验已经演变成承载移动应用程序的成熟平台。
While just a few years ago, mobile was about transcoding content to fit the device, the mobile experience has evolved into full-fledged platforms for hosting mobile applications.
模型转换着重于根据在框架或插件中扩展类的应用程序元数据元素创建源代码。
A model transformation is focused on creating source code based on application metadata elements that extend classes in either the framework or a plug-in.
通过提供新的可视代码片段类型(包括转换程序和编号),以及通过在一个类别中提供更多的可视代码片段,对可视代码片段支持进行了改进。
Visual snippets support has been improved by providing new categories of visual snippets, including converter and Numbers; as well as by providing more visual snippets within a category.
在AMDD的情况下,通过模型转换取代人工工作,将糟糕需求的影响繁殖给了应用程序代码。
In the case of AMDD, the effects of poor requirements are propagated to the application code by means of model transformations instead of manual human effort.
现在我们只需要一个程序将这个宏转换成标准的C 语言就可以了。对于这个简单的例子来说,我们将使用Perl 来实现这个程序,因为它可以对字符串中的用户代码进行评测,其语法也与 C 语言非常类似。
Now we just need a program to convert our macro into standard C. For this simple example, Perl is used because it can evaluate user code in a string, and its syntax is largely C-like.
如果转换数据的代码接近定位数据的代码且二者使用相同的语言编写,那么应用程序的常规复杂性将极大地降低。
The general complexity of the application will decrease considerably if the code that transforms the data is near the code that locates the data and both are written in the same language
清单7中的代码片段是一个用于执行xml2json转换器逻辑的测试驱动程序。
The code snippet shown in Listing 7 is a test driver that exercises the xml2json converter logic.
XQuery的XML输出转换功能可以与它内置的对条件逻辑的支持相结合,以减少应用程序代码的复杂性。
XQuery's ability to transform XML output can be combined with its built-in support for conditional logic to reduce the complexity of application code.
对于CLI和遗留(legacy)JDBC驱动程序,要使用代码页转换表。
For CLI and legacy JDBC drivers, code page conversion tables are used.
应用推荐