Section 33.8. Reduce Interdependencies


33.8. Reduce Interdependencies

Reducing the interdependence of domain objects makes it easier to test them. At the same time, we get other benefits, because the modularity will make it easier to make changes, reuse code, and find bugs.

However, it is more difficult to reduce these dependencies, because many of them are inherent in the associations that arise from the business rules. Others result from the architecture and are difficult to avoid.

Nevertheless, some surprisingly powerful techniques make use of suitable abstractions. For specific details of managing and reducing such dependencies, see [Mar02], [Fow97], and [Fow02a].



    Fit for Developing Software. Framework for Integrated Tests
    Fit for Developing Software: Framework for Integrated Tests
    ISBN: 0321269349
    EAN: 2147483647
    Year: 2005
    Pages: 331

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net