J
James Herdman
I'm reading "The Pragmattic Programmer" right now and I'm at the part
about orthogonality. The authors mention AOP and give an example
involving log writing wherein you can "weave in" some AOP ("Aspect
Oriented Programming" for those not in the know) sexiness and log
writing occurs (the converse behaves as you might expect)**.
It seems to me that this behavior is *sort* of like a mixin -- i.e. you
can mix it in for a new behavior. However, AOP code seems to be
triggered when certain actions happen.
Does this sound roughly correct to those who have AOP experience? Have
any of you used AOP in your experience, and if so, where has it been
most beneficial?
Thank you,
James H.
** For those interested, yes a Ruby AOP project exists:
http://aspectr.sourceforge.net/
about orthogonality. The authors mention AOP and give an example
involving log writing wherein you can "weave in" some AOP ("Aspect
Oriented Programming" for those not in the know) sexiness and log
writing occurs (the converse behaves as you might expect)**.
It seems to me that this behavior is *sort* of like a mixin -- i.e. you
can mix it in for a new behavior. However, AOP code seems to be
triggered when certain actions happen.
Does this sound roughly correct to those who have AOP experience? Have
any of you used AOP in your experience, and if so, where has it been
most beneficial?
Thank you,
James H.
** For those interested, yes a Ruby AOP project exists:
http://aspectr.sourceforge.net/