Aspect Oriented Programming (AOP) vs OOP

Aspect Oriented Programming:

Prior to study of AOP you must understand few terminologies in terms of programming .

  1. Aspect
  2. concern
  3. core concern
  4. cross cutting concern  

Description:

Aspect:

Concern:

Core Concern:

Cross Cutting Concern:


Now what is AOP?
  • It is specialized programming methodology using which "cross cutting concern" is dynamically decoupled from "core concern" 
  • The key unit of modularity in AOP is the aspect. Aspects enable the modularization of concerns such as transaction management that cut across multiple types and objects. 
  • AOP is not replacement for OOP
  • core concern is modularized using OOP whereas crosscutting concern is modularized using AOP.

Comments

Popular posts from this blog

PhoneGap