Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Communications in 3-tier design
Message
De
18/02/1999 02:39:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
User Communications in 3-tier design
Divers
Thread ID:
00188770
Message ID:
00188770
Vues:
44
I am trying to get a handle on how to practically develop an 3-tier application design, and wonder how others have tackled user communications. Assuming the business services layer contains the rules, how do you communicate to the user if a rule has been violated ? I understand that the middle layer (business services) should not have any UI, so if I want to display a messagebox that tells the user the rule was violated, how do I do it ?

I am assuming the following design - a form has a method called Save(), which calls the Save() method of the associated business service object (oBusObject). If the oBusObject.Save() method fails, how do I present this to the user ? I originally thought the form should display the message, but wonder how it would know what to say ????

Anyway, has anyone already tackled this and can they offer some insight ?

Thanks in advance
Rob
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform