O'Reilly logo

Aspect-Oriented Programming with the e Verification Language by David Robinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required