I'll show you something that I think it's hard to maintain without AOP.
As in my Practical AOP #1, I mentioned that I have 8 inter-type declarations and 5 pointcuts to make data-binding work in ZK framework.
The main important thing is that I need one of the ZK base class to implement my Bindable interface. This change can be considered as somekind of the architectural change. Other point is that several UI element classes need to be modified. One of my pointcuts weaves to add the special event trigger to, at least, 9 classes.
The figure below partially shows the UML-like class diagram for the data-binding aspect.
Saturday, April 08, 2006
Practical AOP #2 - What's done behind-the-scene?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment