Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OOP Design
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00198504
Message ID:
00198517
Views:
16
Hi 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




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform