AOP use cases
Daniel Dittmar
daniel.dittmar at sap.com
Fri Apr 16 11:22:08 EDT 2004
Peter Hansen wrote:
> From direct personal experience, could some AOP folks please
> point out some compelling use cases so that the doubting
> Thomases (and Wills, and Peters) can better understand and
> accept the idea of AOP as being more than just a few fringe
> cases?
Not from personal experience, but these have been mentioned:
- multithreading: create class A' like class A, but with specific methods
synchronized
- persistence
- transactions: pass a transaction context through a call hierarchy spanning
several objects and let the transaction fail if certain methods fail
It may very well be that these can be implemented in current Python, but
this only means that Python already has good support for AOP.
Daniel
More information about the Python-list
mailing list