Aspect-Oriented Analysis and Design: The Theme Approach
Publisher: Addison-Wesley Professional | ISBN: 0321246748 | edition 2005 | CHM | 400 pages | 12,6 mb
Publisher: Addison-Wesley Professional | ISBN: 0321246748 | edition 2005 | CHM | 400 pages | 12,6 mb
Aspects are a natural evolution of the object-oriented paradigm. They provide a solution to some difficulties you may have encountered with modularizing your object-oriented code: sometimes functionality just doesn't fit! You've probably found yourself repeating the same lines of code in lots of different object-oriented classes because those classes each need that functionality, and so you can't easily wrap it up in a single place. Good examples of this kind of code are audit trails, transaction handling, concurrency management, and so on. You can now modularize such code with aspects.