Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
Aspect-oriented programming (AOP) is a programming paradigm that isolates the supporting functions from the main program’s business logic.
AOP includes programming methods and tools supporting modularization of concerns at the source code level, but it may also refer to the entire software engineering discipline.
The loss of modularity occurs at the intersection between concerns, and modularity is returned using AOP. This process of intersection, also known as weaving, occurs at build or runtime.
Weaving helps in a number of processes, such as:
AOP logic is implemented in an aspect class independent of later-augmented classes. Once implemented, it can be attached to any library class without aspect class awareness.