Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlling order of instantiation
Message
 
À
30/07/1997 16:14:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00042294
Message ID:
00042586
Vues:
33
>Like making a control call a form method, rather than acting on the data itself, is that considered a "mediator" design pattern too?

Valerie,

No passing the responsibility for something to another object is called delegation. The control delegates to the form.

In mediator we have two (or more ) objects that need to interact with one and other, but we use a third object to hanle the interaction between theo others. The third object is acting as a mediator for the other two (or more) objects.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform