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:
00457621
Views:
23
Anthony,

>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?>>

Business rules fall into two broad categories...1) Data validation rules, 2) Domain rules.

Data validation rules verify things like must-key fields, proper ranges of values, etc. have been entered. An example of a domain rule is "New invoices cannot be generated for clients over their credit limit". You can create a method on a rules object for each one of these rules.

Other than that, the majority of your business logic belongs in KBizObj.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform