AOP

AOP

 英

  • n.阳极断电图
  • 网络面向方面编程(Aspect-Oriented Programming);面向切面编程;面向方面的编程

英汉解释

n.
1.
阳极断电图

例句

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.

同时使用AspectJSpringAOP可能它们并不冲突

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.

当然应用程序编码不会以前那样复杂那时AOPSpring并不存在

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方法来说用于单独一个关注多个连接必须存在