Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Communications in 3-tier design
Message
De
18/02/1999 12:28:14
 
 
À
18/02/1999 10:43:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00188770
Message ID:
00188907
Vues:
24
Jim & John:

Thanks for the input. I guess I am still struggling with some of the ideas of object responsibility. The use of a messaging object is something I am familiar with, but I still can't resolve how best to incorporate it.

Let's say that I decide that whenever the user wants to delete a record, I want to display a message box to confirm the delete before continuing. In the busobject's Delete() method, I tell the business object's messaging object to display the confirmation prompt. I have done this within a complete VFP application without issue.

What I get confused on is when you start looking to build the business object as a middle tier OLE server. As I understand it, these middle tier objects can and should reside on other machines. Using the same idea as above, would the message be displayed at the user's computer or the one where the OLE server runs ? And does this violate the idea of not putting any UI code in an OLE server ?

I have seen in some frameworks the use of a global messaging object across an entire application, but if the busobject is created by any other client (VB, etc), then its possible that their is no global message object, since the application object is not created ???

Sorry this is so long, I guess I am just feeling especially thick today !

Rob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform