如果应用程序的目标是要能向外扩展,则在代码中必须避免使用这些机制。
If scaling out is targeted for an application, then you have to avoid these mechanisms in the code.
在开始研究代码细节之前,让我们先来了解一下这个应用程序的目标。
Before jumping into the specifics of the code, let's have a look at the application's goals.
注入代码的目的通常是绕过或修改程序的最初目标功能。
The purpose of the injected code is typically to bypass or modify the originally intended functionality of the program.
我们的目标是交给程序员准确的重现步骤、系统环境设置、以及公布他们使用的framework或者代码的行为,以彻底的提高程序的可诊断性。
Our goal was to hand developers the exact repro steps and system environment Settings, as well as expose the behavior of frameworks and code they use, to drastically improve their diagnosability.
当用户单击某个关闭的节点时,浏览器会将目标节点的onClick事件(通过气泡)传递给小组件控制器代码的主onclick处理程序。
When a user clicks on a closed node, the onClick event of the target node is bubbled up by the browser to the main onClick handler of the widget's controller code.
RSPW与HOP的目标读者不同:它所面向的大部分读者是初学者和中级Perl程序员,他们正在寻找一些可实践的、立即可用的代码。
RSPW addresses a different audience from the readers of HOP: mostly beginner to intermediate Perl programmers looking for practical, immediately usable code.
这段代码使用和前面一样的参数:一个目标对象和一组鼠标处理程序。
This code takes the same arguments as before: a target object and a set of mouse handlers.
代码重用是一个显著的开发目标,而命令式抽象倾向于用不同于函数式程序员解决问题的方法来解决问题。
Code reuse is an obvious development goal, and imperative abstractions tend to solve that problem differently from the way that functional programmers solve it.
MDAT允许开发人员一次性设计应用程序,并生成在所选的目标设备上呈现请求内容所需的代码。
MDAT allows the developer to design the application once and generate the code necessary to render the requested content on selected target devices.
第二,实际性:对于程序员来说,计划式编程方式构建了目标代码的抽象概念。
The second is practical: to programmers, the intentional method constitutes an "abstraction" of the underlying target code.
开发人员在以编写高性能代码为目标的时候,常常会编写小的基准程序来度量一种方法相对于另一种方法的性能。
Toward the end of writing high-performance code, developers often write small benchmark programs to measure the relative performance of one approach against another.
在进行远程调用之前,应用程序代码必须创建一个在目标服务器上有效的新主题。
Before making the remote invocation, the application code has to create a new subject that is valid on the target server.
单元测试的目标是测试应用程序底层代码的功能,保证它们执行后产生正确的结果。
The goal is to test the functionality of the underlying code of the application to ensure that the correct results are provided upon execution.
但是当我在写代码的时候,整洁的代码不是我最重要的目标,它从来不能取代我最重要的目标——使程序运行起来。
But when I'm coding, clean code is my secondary goal and it could never take the place of my primary goal: making it work.
当您使用CLP的“-a”选项来显示SQLCA信息时,将展示源应用程序(本例中,CLP)和目标数据库的代码页。
When you use the "-a" option of the CLP to display the SQLCA information, the code pages of the source application (in this case the CLP), and the target database are shown.
与动态库不同,在编译应用程序时对静态库的目标代码进行连接,并且因此成为该应用程序的一部分。
The object code of static libraries, as opposed to dynamic link libraries, is linked when the application compiles and, as such, becomes a part of the application.
您需要为发送和目标应用程序添加几行代码,以放入和接收安全属性。
You need to add a few lines of code to the sender and the target application to place and receive security attributes.
针对所选的目标设备生成应用程序代码,并自定义其应用程序。
Generate the application code and customize the application for the selected target devices.
第二个目标是:它应当迅速,使用字节码增强直接把绑定代码添加到应用程序类(与侵入性较小但是较慢的反射技术相反)。
The second was that it would be fast, using bytecode enhancement to add the binding code directly to the application classes (as opposed to the less invasive but slower technique of reflection).
目标应该是,以最少的精力,对代码、代码规划和makefile 文件进行最少的修改, 就可以令为特定体系结构所编写的程序在其他体系结构上被编译。
The aim should be to have the program written for a particular architecture to compile on another architecture with minimal effort and minimum changes to the code, the code layout, and the makefiles.
Slice的主要设计目标是封装存储环境,以便于应用程序代码能够与在典型的单数据库中使用的代码保持一致。
The major design goal of Slice was to encapsulate the storage environment such that the application code remains exactly the same as in a typical single database usage.
为了代码被部署到目标环境中,每个应用程序设计人员可以在源环境中运行他们自己的EventStudio代理。
Each application architect can run their own Event Studio agent in the source environment for their code to be deployed in the target environment.
为了在不影响应用程序代码的情况下,保持激活slice的这些多少有点矛盾的目标,同时又能允许某些控制,Slice采用了一个内置的基于策略的方式。
To maintain these somewhat-contradictory goals of activating Slice without affecting the application code and, at the same time, allow some control, Slice employs a plug-in policy-based approach.
相应的war文件应该能够在只需很少修改而绝对不需要重新编译源代码的情况下部署到我们的目标Web应用程序容器上。
The war file should be deployable on our target web application containers with minimal modifications and absolutely no re-compile of source code.
WebSphereMQAdvancedMessageSecurity的一个主要设计目标是避免对应用程序代码进行任何更改。
One of the primary design goals of WebSphere MQ Advanced Message Security was to avoid any requirement for making application code changes.
这种情况下,高级语言编写的程序被称为源代码,而翻译出来的程序被称为目标代码或者可执行程序。
In this case, the high-level program is called the source code, and the translated program is called the object code or the executable.
目标机端的监控程序主要是由调试命令执行模块、通信模块、代码控制模块组成。
The monitor programs of the target are composed of executive module of debugging command, communication module and code control module.
微指令的别名,以源语言形式或目标代码形式组成微程序。
Another name for the microinstructions that make up a microprogram either in source language or in object-code form.
编译器和连接器将源程序文件编译和连接成虚拟机系统可执行的目标代码文件。
The compiler and linker can compile and link source code program files into object code file that is executable to the virtual machine system.
编译器和连接器将源程序文件编译和连接成虚拟机系统可执行的目标代码文件。
The compiler and linker can compile and link source code program files into object code file that is executable to the virtual machine system.
应用推荐