Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best practice
Message
De
15/06/2001 08:53:55
 
 
À
15/06/2001 08:46:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00519257
Message ID:
00519883
Vues:
19
>Craig
>
>I think I'm beginning to get to grips with it.
>
>The UI Tier will only action methods in the Custom Business Object (BO), then the BO will do all the necessary processing, all the form needs to know is if it was successful or not, keeping the UI to do what it's there for - action user commands.

Yes

>
>The BO will then deal with the Data itself, so that no matter where you put your BO ( I'm beginning to dislike those letters!!!), it will always validate or whatever correctly ,because it is contained in that Object.

Validation is the job of the Business Objects. The data tier is responsible for storing the data and maintaining referential integrity.

The UI *never* talks directly to the data tier. All queries, updates, validation, etc, go through the business objects.


>
>Am I right in asuming that, i want to be clear before I start venturing down this path.
>
>Thanks
>Kev
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform