Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User Communications in 3-tier design
Message
From
18/02/1999 02:39:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
User Communications in 3-tier design
Miscellaneous
Thread ID:
00188770
Message ID:
00188770
Views:
45
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
Next
Reply
Map
View

Click here to load this message in the networking platform