Tuesday, October 19, 2004

Wormholes

Bill Caputo talks about wormholes, which are passages that transport implementation details through your layered architecture.

Martin Fowler follows up, talking about Data Transfer Objects, which are "an object that carries data between processes in order to reduce the number of method calls."

So what's the big deal?

I think that a layered architecture is great, so long as it buys you actual decoupling. If a layered architecture only buys you more layers, it is time to rethink the architecture.