Chapter 7. AOP in Action

Putting AOP to use is something you can start doing in small phases. You might want to start by creating an OOP style verification environment as you’re used to, but to use AOP to implement lots of hooks. Users can extend these from separate files (perhaps you want a “hook” aspect?). Perhaps you have a new feature to add, such as a new transaction type (an error packet), so you could begin by making it pluggable and creating an aspect for it. You might even be sitting down to write something completely new and you want to embrace AOP fully, so you decide to identify a handful of aspects that you want to deal with and structure your code accordingly.

There are many small ways to start using AOP, but all of them would be ...

Get Aspect-Oriented Programming with the e Verification Language now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.