Monday, August 4, 2008

Ctrl-Shift-B: The Art of Separation of Concerns

Derek Greer has written a detailed post on Separation of Concerns (SoC), at Ctrl-Shift-B: The Art of Separation of Concerns.

He also explains how we can achieve good SoC by decomposing a design into verticals (modules) and horizontals (layers), also looking at how aspects (AOP) allow us to take this to yet another level.

The post also discusses Inversion of Control (IoC) and Dependency Injection (DI)... and how they contribute to good separation as well.

All-in-all, a good read.

Remember:

(High SoC) == (High cohesion, Low coupling) == A Good Thing!

No comments: