AOP
美
英 
- n.阳极断电图
- 网络面向方面编程(Aspect-Oriented Programming);面向切面编程;面向方面的编程
英汉解释
例句
AOP addresses a problem space that object-oriented and other procedural languages have never been able to deal with.
AOP解决了面向对象和其它过程性语言未能处理的一块问题空间。
However, I would still like to ask, would they have been able to avoid some of these design tradeoffs had they used AOP?
但我还是要问一问,如果使用AOP的话,能否避免其中一部分设计取舍呢?
Even Javascript, once the bane of every web developer's life, has powerful idioms allowing AOP to be implemented easily.
即便是曾经祸害过每个开发者生活的Javascript,也有强大的方言能够方便地实现AOP。
The criteria defined here should also make it easier for you to evaluate upcoming releases of AOP tools and features.
这里定义的指标还会让读者更加容易地评估即将推出的AOP工具和特性。
As it was with object-oriented programming, we've got to spend a little time accumulating the wisdom it takes to use AOP effectively.
因为它使用了面向对象编程,所以我们必须花费一些时间积累相关知识以更有效地使用AOP。
One of the best practices of getting most out of AOP is to use to metadata to capture join points for cross-cutting concerns.
从AOP获得大部分好处的最佳实践之一就是使用元数据去为横向关注点(cross-cuttingconcerns)捕获连接点(joinpoints)。
Be careful to benchmark before making a decision on this basis: the overhead of Spring AOP proxying is all but undetectable in normal use.
在这个基础上做决定前要小心基准:SpringAOP代理的负载在通常使用中是无法觉察到的。
When you're aiming for separation of concerns, transparency, and flexibility, aspect-oriented programming (AOP) is often the right answer.
如果目的是分离关注点、透明性和灵活性,那么面向方面的编程(AOP)通常就是正确的答案。
I'd like to talk about some of the ways that I think AOP can be (and has been) used effectively.
我想谈论一些我认为AOP可以被(或已经被)有效使用的方法。
Transition logic cross-cuts all intercepting filters and as you might have guessed AOP yet again comes to mind as the technology of choice.
转移逻辑横贯所有拦截过滤器,你可能已经猜到了,AOP再次成为所选技术。
At the heart of each of the AOP tools is a join point model, which provides a means of identifying where the crosscutting is happening.
位于每个AOP工具核心的是连接点模型,它提供了一种机制,可以识别出在哪里发生了横切。
For a more comprehensive review of the AOP approach, consult the resources provided in the "References" section at the end of this article.
为了更加完整的回顾AOP方法,请您参考本文最后“引用”一节中所提供的资源。
It is possible to use both AspectJ and Spring AOP simultaneously: they do not conflict.
同时使用AspectJ和SpringAOP是可能的:它们并不冲突。
Using an AOP language, we might be able to test application code automatically without disturbing the code.
使用AOP语言,我们可以自动测试应用程序代码而不会对代码带来干扰。
Cedric Beust described Aspect Oriented Programming (AOP) as "a great idea that will remain the privilege of a few expert developers" .
CedricBeust将面向方面编程(AOP)描述为“保留少数开发内行特权的一个绝佳主意”。
As shown by the figures above, one of the key differences among the AOP tools is how each one approaches aspect declaration.
正如上面的图所展示的,AOP工具之间的关键差异就是处理方面声明的方式。
Writing good pointcuts is key to mastering AOP, although it is often a struggle for newcomers.
编写好的切入点是掌握好AOP的关键,尽管这对于新手来说通常不是一件容易的事。
Of course coding the application is not as hard as in former times, when AOP and Spring did not exist.
当然给应用程序编码并不会像以前那样复杂,那时AOP与Spring尚并不存在。
No AOP knowledge is required either to read this article or to get started using Aspects for MDD.
阅读这篇文章和开始使用AspectsforMDD是不需要AOP相关知识的。
The challenge of choosing an AOP tool for your project is in comparing the trade-offs of each approach without getting lost in them.
为项目选择一个AOP工具所面临的难题在于比较每种工具的优劣,同时不要让自己迷失其中。
In the case of Spring AOP (all versions), the only joinpoint supported is the execution of a public method.
在SpringAOP(所有版本)的案例中,唯一支持的连接点是公有方法的执行。
As you can see, the principle for supplying annotation is the same across the various AOP systems, although the syntax differs.
可以看出,提供注释的原理在不同的AOP系统中是相同的,尽管语法不一样。
In a metadata-fortified AOP implementation, you map core concerns to classes just as you have all along.
在通过元数据增强的AOP实现中,就像平时做的那样,可以将核心关注点映射到类。
To finish off this quick overview about AOP, let me present a few specific terms and clarify their intended meaning.
为了完成此次有关AOP的快速概述,我将介绍一些特定术语并解释它们各自的含义。
Therefore, an AOP program needs to be compiled as a unit rather than one class at a time.
因此,需要将AOP程序作为一个单元来编译,而不能每次编译一个类。
The conciseness of a tool's aspect declarations should help determine the benefits of static checking for that tool.
AOP工具的方面声明的简洁性,应当有助于判断该工具静态检查的优势。
At this time, the AspectJ compiler is the only commercial-quality AOP compiler, although other research-quality compilers exist.
目前,虽然还存在其他研究质量的编译器,但是AspectJ编译器是惟一达到商业质量的AOP编译器。
AOP allows the fault handling concern to be encapsulated in a common Aspect applied to the participating classes.
AOP让故障处理的问题被封装在通用的可以作用到参与类的层面上。
I ll explain some of the design opportunities presented by using an AOP construct to supply annotation toward the end of this article.
在本文最后,我将说明使用AOP构造提供注释带来的一些设计可能性。
Therefore, strictly speaking, it may appear that Design by Contract isn't an appropriate candidate for an AOP approach at all.
所以,严格来说,契约式设计看起来可能根本不是AOP技术的备选方案。
Figuring out what went wrong, especially when first coming up to speed on AOP and pointcuts, can be extremely time-consuming.
指出错误在哪特别费时,尤其在初次接触AOP和切入点时。
Is a year-long series dedicated to helping you incorporate AOP into your day-to-day Java programming.
是为期一年的系列文章,专门帮助您把AOP整合进日常的Java编程中。
His question caused me to stop and consider effective ways of applying AOP in some of the software systems I've worked on.
他的问题促使我停下来,并考虑将AOP应用于一些正在做的软件系统的有效方法。
AOP would let us add new features, in the form of concerns, to existing systems in an organized manner.
AOP还将使我们在关注的形态中,对现存系统以一种有组织的方式增加新的特点。
Not all AOP systems support all of the possibilities mentioned here, as you'll learn from the more detailed discussion that follows.
并不是所有AOP系统支持这里提到的所有方法,在下面的讨论中可以了解更多细节。
The sophistication of the pointcut language is a differentiating factor among the various AOP systems.
切入点语言的复杂程度是不同AOP系统的一种区分元素。
In the next section I'll begin to explain more concretely how AOP implementations can be extended to incorporate metadata.
在下一节中,我将开始更具体地说明如何扩展AOP实现来添加元数据。
Note that in Part 2, I'll discuss the details of building AOP programs, as well as the concept of weaving aspects.
注意,在第2部分中,将讨论构建AOP程序的细节以及方面设计的概念。
I ll start with a reminder of the pros and cons of hand-coding crosscutting concerns vs. Working with an AOP tool.
下面将开始介绍手工编写横切问题与使用AOP工具进行处理的优劣对比。
For an AOP approach to be advantageous, multiple join points for a single concern must exist.
对于一个有利的AOP方法来说,用于单独一个关注的多个连接点必须存在。