The Facade Class Reengineered

[Previous] [Next]

Figure 8-1 highlights the differences between the facade class before reengineering and the facade class after reengineering.

click to view at full size.

Figure 8-1. The fcdHorseMaint facade class before and after reengineering.

To the left, you can see the method set of the facade class before reengineering, and to the right, the one after reengineering. Notice the following two new methods, both of which were in fact added in Microsoft Visual Basic and then reengineered into the model:

  • GetCountryList delivers a recordset containing all the countries in which horses might be bred.
  • GetTrainerList delivers a recordset containing the names of all the trainers. It can also return a subset of all those trainers whose names fit the name pattern given to the method in the strLastNamePattern argument.


Designing for scalability with Microsoft Windows DNA
Designing for Scalability with Microsoft Windows DNA (DV-MPS Designing)
ISBN: 0735609683
EAN: 2147483647
Year: 2000
Pages: 133

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