Hi Markus -
Yes, the Strategy pattern looks like exactly what I need for the Updator object itself. HOWEVER, the problem at this point, is HOW do I structure my Mediator to call the Updator MULTIPLE times.
Here's an example:
Say I need to update VFPTable1.field1 and VFPTable1.field2 AND AccessTable1.afield1. Really this is 3 separate updates. HOW does the Mediator know to call the Updator 3 different times?
Thanks!
~ ellen
>> I'm not sure design-wise what is the best way to generically handle this
>> situation. At this point, my stumbling block is not the fact that there are
>> different types of data that I am dealing with, but the fact that I have to
>> go thru the update process MULTIPLE times. I'm not sure generically how to
>> set this up.
>
>You could apply the strategy pattern here. Your 'Updator' could invoke different strategy objects (that have the same interface) depending on the back end.
>
>Markus
ellen whitney
EPS Software Corp