aspect-oriented programming


Aspect-oriented programming, or AOP, complements object-oriented programming by allowing the developer to dynamically modify the static object-oriented model to create a system that can grow to meet new requirements, allowing an application to adopt new characteristics as it develops.

*AOP provides a solution for abstracting cross-cutting code that spans object hierarchies without functional relevance to the code it spans. Instead of embedding cross-cutting code in classes, AOP allows you to abstract the cross-cutting code into a separate module (known as an aspect) and then apply the code dynamically where it is needed. You achieve dynamic application of the cross-cutting code by defining specific places (known as pointcuts) in your object model where cross-cutting code should be applied. At runtime or compile time, depending on your AOP framework, cross-cutting code is injected at the specified pointcuts. Essentially, AOP allows you to introduce new functionality into objects without the objects’ needing to have any knowledge of that introduction.
*[Source: Oracle technology Network]

Read Also:

  • aspect-oriented software development

    Aspect-oriented software development (AOSD) is a new approach to software development that addresses limitations inherent in other approaches, including object-oriented programming. AOSD aims to address crosscutting concerns by providing means for systematic identification, separation, representation and composition. Crosscutting concerns are encapsulated in separate modules, known as aspects, so that localization can be promoted. This results […]

  • Aspect Ratio

    In computer graphics, the relative horizontal and vertical sizes. For example, if a graphic has an aspect ratio of 2:1, it means that the width is twice as large as the height. When resizing graphics, it is important to maintain the aspect ratio to avoid stretching the graphic out of proportion. The term is also […]

  • aspects

    Aspects in aspect-oriented programming (AOP) package advice and pointcuts into functional units in much the same way that object-oriented programming uses classes to package fields and methods.

  • aspherical surface

    A lens surface with more than one radius of curvature (i.e., the surface does not form part of a sphere). The aspherical elements of a lens help compensate for many lens aberrations common in simpler lens designs. Aspherical elements are particularly important for wide-angle lenses, since they are prone to distortion. See “A Quick Guide […]

  • assembler

    A program that translates programs from assembly language to machine language.


Disclaimer: aspect-oriented programming definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.