using the dependency injection pattern..

Coding to well-defined interfaces, particularly when using the dependency injection pattern, is the key to achieving loose coupling. By coupling an object to an interface instead of a specific implementation, you have the ability to use any implementation with minimal change and risk.
posted @ 2010-10-26 13:55  Ready!  阅读(194)  评论(0编辑  收藏  举报