Sunday, March 30, 2008

What is Aspect oriented programming?

Aspect oriented programming is a type of programming paradigm where the software developers attempt to do separation of concerns particularly, cross cutting concerns. All programming methodologies support some type of separation and encapsulation of data into single entities. But some others dont support these forms of encapsulation,and for the same reason, they are called crosscutting concerns.
Some code may be scattered in the run making it harder to understand the program and maintain. Modules end up tangled with multiple concerns. So changing one module requires understanding the motive of each of the module used in the particular program, which is often time consuming as well as too difficult.
AOP solves this problems by allowing the programmer to express such crosscutting concerns to be expressed as aspects, which can contain advice as well as inter-type declarations.AOP combines the goodness of objec oriented programming and computational reflection.But widespread adoption of Aspect oriented programming paradigm is restricted by lack of tools and widespread education on the topic.

No comments: