A daily dose of software engineering wisdom - inspiring, thought provoking, and sometimes just plain dangerous.

Tags: architecture

*Layers*

Well-architected systems tend to be organized in multiple layers depending only on 'lower' layers. The lower layers contain generic functions that are used by the more specific functions in the upper layers. Forcing one-way dependencies between upper and lower layers avoids circular dependencies between components. It also clarifies the process of unit and integration testing: Test the lower levels first and build up. The higher levels can be tested with mocks / stubs replacing the lower layers.

Last published: Thursday 6th May 2010

<<Previous     Next>>

carriagereturn.org home