Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KBizRules Class
Message
 
To
22/12/2000 18:57:38
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00456530
Message ID:
00456846
Views:
33
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform