Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KBizRules Class
Message
From
22/12/2000 22:22:48
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00456530
Message ID:
00456550
Views:
24
>>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?

>I just started with Mere Mortals and had the same problem you're having. What >I did is create an event object to handle the import of data. The event object >instantiates the entity objects (my entity objects map 1-1 with my tables) on >Init, then those entity object collaborate in the ExecuteEvent method.

>I posted a message here a week or two ago about this, and Kevin said that was >the correct way to go. Which in religious terms, means it has been blessed.
>Chris McCandless
>Red Sky Software

I was hoping not to have to learn event objects just yet, but maybe i'll have to look into them.

The entity objects you mention... those are just business objects?
and still.. i'm unclear.. about where my business rules in general should go... kbizobj or kbizrules

Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform