Tuesday, November 30, 2010

AOP

What is aspect oriented programing?
It is modular implementation of cross cutting concerns. Cross cutting concerns implies to the a common set of 'need' for a group of methods.

join point - The point where the group of method/constructor has something in common, for eg : starting with exe..., we would define the join point as exe*. This mean all the methods starting with exe would have the behavior defined in the aspect.
The best part of AOP is that when you decide to remove the aspect, your program regains its original behavior. Thus when you introduce the aspect, you essentially is not changing your original code but imparting a common behavior to a set of mutually exclusive methods.

No comments: