Utilization

[Previous] [Next]

Use the Prototypical Object Factory design pattern for the following reasons:

  • For the same reasons you would use the Object Factory design pattern (Chapter 8), which are to keep the client oblivious to the potentially unlimited implementations of the interface it expects and to regulate the creation process.
  • To minimize the parallel class hierarchies of factory to product as described in Chapter 8.
  • To dynamically register at run time new classes of objects for the factory to create or to unregister existing classes of objects.


Microsoft Visual Basic Design Patterns
Microsoft Visual Basic Design Patterns (Microsoft Professional Series)
ISBN: B00006L567
EAN: N/A
Year: 2000
Pages: 148

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