Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OOP Design
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00198504
Message ID:
00198517
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform