Functional decomposition is good for flexibility, maintainance and modularity of programs. However, it is not necessarily good for other aspects of programming, e.g., memory efficiency, error handling, etc. To cope with such aspects it is often necessary to write monolithic programs in which components share knowledge. Aspect-Oriented Programming is a paradigm that attempts to cater for functional decomposition and other aspects of programming. Aspect programs describe how normal programs can be modified in order to deal with some aspect.

An aspect-oriented program consists of component programs and aspect programs. An aspect weaver combines these into a final, tangled program in which components and aspects are expressed.

One of the first implementations of Aspect Oriented Programming is AspectJ, this is an extension to java.



See Also

Revision: r1.6 - 25 Sep 2004 - 15:09 - OegeDeMoor
Transform > AspectOrientedProgramming
Copyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback