I have been playing around with an AOP framework for Flash for some time now and I think it is time to publish it. Right now it offers the basic AOP constructs, represented by classes, like different kinds of Advices, Pointcuts, JoinPoints and Aspects. The framework is also extensible. You could ‘easily’ add new kinds of Advices or Pointcuts. What it is lacking are lexical-structure, control-flow based pointcuts and performance (I’m not a good speed optimizer or algorithm writer). But I hope to solve all this issues in future releases. If you wanna help me, you are welcome.
Click the following link for a little UML class diagram that depicts the whole structure: AOP Framework Class Diagram.
I have also written an example to show how to use it. It is contained in the download (test/org/swacker/aop/test.fla).
Download the AOP framework and the example.
You also have to download the as2lib becuause the framework is based on it.
Download the as2lib (this version is a reviewed/newer one and not the one you can download on www.as2lib.org).
Saturday, June 5th, 2004 at 8:26 pm
