Aspect Oriented Programming


 

I’m not a Java developer, however I’m very interested in AOP, and I’m sure this tutorial it’s going to provide me a lot of ideas about AOP.

 

AOP is presented as an evolution to OO and Component Based Programming, it’s a kind of interception mechanism that allows you to define a kind of queries to select the types you want to intercept. During the interception you can act before, after or in the whole execution of a method. The typical things you can do with aspects are:

  • Logging
  • Transaction Management
  • Tracing
  • Performance Analysis

 

But the point I really loved is the ability to set design time rules to analyze your current design, for example, in a MVC pattern you could check that the View never talks directly with the DataBase.

 

If you want to see the presentations it’s availbale here: http://newaspects.com/presentations/

 

And if you want to play with AOP from the .NET world here is an early version of AspectSharp: http://aspectsharp.sourceforge.net/

 

 

Have fun !!

Comments (7)

  1. It good to see that someone likes AOP 😉

    If you are interested I wrote about how Lazy Load can be used in a Lazy Load manner:

    http://fredrik.nsquared2.com/viewpost.aspx?PostID=194

  2. Juanjo says:

    Hi rido…

    I’ve read this page talking about AOP, some time ago…

    http://www.eclipse.org/aspectj/

    Regards.

  3. Evain Jb says:

    Hi,

    Maybe you can take a look to AspectDNG :

    http://aspectdng.sourceforge.net/

  4. It would be great if some of the presentations were available with audio. Does anyone know a good complete presentation that introduces Aspect Oriented Programming?