CPH Aspect-Oriented Programming with Dependency Injection

Sign in to queue

Description

by Mark Seemann,

Cross-Cutting Concerns such as logging, auditing and security often present a difficult challenge because they must be applied to diverse components across an application. This can be difficult to reconcile with principles such as the Single Responsibility Principle and DRY (Don't Repeat Yourself).

One common solution to this challenge is Aspect-Oriented Programming (AOP), but another alternative is to leverage Dependency Injection (DI) to implement Cross-Cutting Concerns in a loosely coupled fashion. This session shows how to do this by progressing from simple use of DI and known design patterns to use of dynamic proxies emitted by DI Containers.

http://gotocon.com/cph-2011/speaker/Mark+Seemann

 

 

Day:

1

Code:

GOTO-CPH-Aspect-Oriented-Programming-with-Dependency-Injection

Embed

Download

Download this episode

The Discussion

  • User profile image
    Paul

    Is there something I missed or is this the kind of thing we
    can do for over 5/6 years with Spring.NET?

Add Your 2 Cents