what are the Tools/Methodologies to categorise/Implement business
rules in .net?

In the book "Wisdom of the Gurus" in Business Rules chapter by James
J. Odell the fact that most of times business rules are actually by
product of how a system should behave has been mentioned.

My Question is how is one to reformulate the business rules that
expressed in natural language to Object Behaviour by implementing them
using Events and Methods?

For example the rule: Do not take new order from customers that have
more than 3 outstanding invoices, following combinations for
implementation come to mind :

1.Implement some checking in the AccpetOrder method of Order class
2.Implement some checking in the AddOrder method of Customer class
n. Implement some checking in the X method of Y class.


A.In the Order.BeforeAcceptNewOrder event do the checking and revoke
further processing using the BeforeAcceptNewOrderEventArg
B.In the X.BeforeY event do the checking and revoke further processing
using the BeforeYEventArg.

4.Some other behavioral modification using Events, so the interaction
of objects can change dynamically ( as opposed to hard coding business
rules ).

There are just too many combinations / degrees of freedom in
translating business rules into implementation, but surely by now a
more holistic has come to being, anyone knows where or how to find
them ?


Regards

Arjang

Reply via email to