Aspect oriented programming amis to increase the modularity by allowing the seperation of cross cutting concerns.
If we compare Aspect oriented programming with object oriented programming , unit of modularity in OOP is an object and where as in AOP the unit of modularity is an Aspect.
In AOP,Aspect works as the modularization of concern known as a crosscutting concern.
Cross cutting concern is an behaviour that "cuts" across multiple points in object model, yet it is distinctly different.
AOP let abstract and encapsulate cross cutting concerns. eg:Logging, Transaction, Security
No comments:
Post a Comment