dcsimg
What is AOP (Aspect Oriented Programming) ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Luigi_Viggiano
Posted On:   Friday, November 23, 2001 01:04 AM

see: PROCEEDINGS OF THE
ASPECT-ORIENTED PROGRAMMING WORKSHOP
AT
ECOOPÂ’97
Can anyone give a sintetic description? (Too lazy to read carefully documentations, but seems an interresting tech.)

Re: What is AOP (Aspect Oriented Programming) ?

Posted By:   Aleksi_Kallio  
Posted On:   Sunday, November 25, 2001 10:49 AM

Aspect is something that crosscuts the program. A Customer or Connection are not aspects, because they don't crosscut. But things like persistence or logging are, because they affect many classes that needn't to be related to each other.



In AOP the idea is to catch pointcuts and execute some code before or after them. Pointcuts are clearly defined points in the execution of the program, such as method calls. So you could for example log every method call in the program. You can also add variables to classes etc...

About | Sitemap | Contact