Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about Business Objects (Business Services)
Message
De
05/04/2001 16:14:36
 
 
À
05/04/2001 16:09:31
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00492082
Message ID:
00492506
Vues:
16
>
>
>James,
> The normalization is in progress, but I am fighting a manager who is reading books on OOP development in C++, and trying to apply them to VFP.. There are some relevent themes, but he is trying to have one data session open for ALL forms and reports, and not seeing the ideas of the MM framework as working right..
>
>My question, if there are 8 tables being used by a form, I would have multiple business objects that contain views to these tables.. (One or two of the tables would be written to, the rest are for reference purposes...) Correct?
>
>Thanks!
>
>Tony Miller

Nothing worse than a manager with little knowledge and no experience! The answer to your question is: if each view is involved in a transaction, then it should have its own business object. If some of the views are used for lookup purposes, then they should be included with the business object that uses them in the lookup. The first view that you add to your business object becomes your primary cursor, or the cursor that is acted upon. Eight business objects on a single form makes a very heavy form (Just ask Dr. Weieder about that!)

Regards!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform