Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KBizRules Class
Message
 
À
22/12/2000 18:57:38
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00456530
Message ID:
00456846
Vues:
45
>I'm curious about where I should be placing my business rules. What should go in the KBizRules subclasses, and what should go in the KBizObj subclasses?
>
>KBizRules seems clearly setup to handle data validation type rules. But what about other business processes like doing a credit check, or importing a data file? Should these rules be in the business object or in the business rules object and why?
>
>TIA,
>
>Anthony




Yes using the KBizObj for your business rules is the way to go. In my app that is where scoring a customer is accomplished. That would be how credit worthy they are. I have a customer_biz that gets the data set for what I need in my work but the cust_score() is in the bizRule. That way it can be referenced whenever needed. And I don't need to have customer data available to do it.

__Stephen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform