CPH Aspect-Oriented Programming with Dependency Injection

Download this episode

Download Video

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

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    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?

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.