Chapter 10 -- Implementing the Facades

[Previous] [Next]

Chapter 10

If you've been following along in the previous chapters, this should be the state of your project:

  • If this were a real project rather than a pedagogical one, you'd have a number of facade classes in your model and in your Microsoft Visual Basic project. As things are, you should have at least one, the methods of which are coded in Visual Basic as test stubs.
  • You should have a number of main business classes (again, we've shown only one) defined in your Rational Rose model, and also a number of COM interfaces defined in the same model.

Now when it's time to implement your facade classes, you can perform the same trick we showed you in Chapter 6, "Reducing Time to Market," for developing your facade test stubs and your UI prototypes. The trick, of course, is first to generate code for the new interfaces and classes and then set up test stubs for each method of the generated classes.



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