Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Framework for specific needs
Message
De
26/05/1999 18:38:06
 
 
À
26/05/1999 15:38:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00222927
Message ID:
00223224
Vues:
28
Gar:

>Yes, but I hate the idea of bypassing the DBC.<

I never said you had to. All you do is keep very basic stuff in the .DBC. Business rules are kept in the data-manager. As it is a class, it can be subclassed. Therefore, you can create whole data structures in a data-manager subclass with all field validation (yes - field validation rules in the data-manager along with the form level rules and business rules. If you then create other forms based on the same data, you just drop the data-manager subclass on the form and voila - form level validation rules, business rules and field validation all encapsulated in the data-manager creating a complete break between the form/ui and data. Very nice indeed.

Ignore Codemine at your peril <g>.
-=Gary
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform