Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3-tier programming, Codebook, and business classes
Message
 
À
13/03/1998 14:23:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00083772
Message ID:
00084551
Vues:
46
>
>Basically, the business object acts as or calls wrapper-class methods for all database IO, if I am understanding this correctly. It's a very good way of doing generic IO.

Actually, I was wondering if the programming logic in the Method's themselves were generic or if they had to be specifically modified to deal with different views/cursors/tables/whatever in each business object that used those methods. Since it looks like you're passing enough information about what "field" you're interested in, the methods don't need to know any real specifics about the cursors (inside the business object) they may be dealing with. Check to see if the field you're requesting exists, if it does - pass the info back to the front-end. If it doesn't, return an error.

-Paul
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform