June 18, 2007

Layered Architecture, Dependency Injection, and Dependency Inversion

ost developers understand the value of the layered approach to architecture. The main principle behind layered architectures is that of “separation of responsibility”. Each layer is responsible for a finite amount of work. Any work that cannot (read should not) be done by a particular layer gets delegated to a