Aspect-Oriented Programming vs Dependency Injection

added by gfraiteur
12/10/2010 7:41:33 AM

3 Kicks, 207 Views

Aspect-Oriented Programming and Dependency Injection are very different concepts, but there are limited cases where they fit well together. In these situations, using the AOP facility of a DI framework makes perfect sense. For other cases you have two options: abuse from dynamic proxies (a non-solution), or use of a dedicated AOP framework.


0 comments