Figure 8.2 Coupling and strength of relations between modules Compare this with the preferred loosely coupled version in which only the vendor ID is passed to retrieve the same record of information. Not only does this design move less data (only
non-superfluous data, but also there is far less dependence between modules. Only the vendor identification is needed to distinguish one vendor’s record from another. Since it is likely to be the record key, it is also unlikely to change. Other items in the record may change. Hence, the loosely coupled alternative is better suited to achieving the stated design and maintenance objectives. Edit vendor record Edit vendor record Retrieve vendor record Retrieve vendor record Vendor name vendor ID vendor address
Tax status date Vendor record EOF Vendor record
EOF
Vendor ID Share with your friends: