Designing a Business Rule Engine

Posted by Nisha_Roy on Programmers See other posts from Programmers or by Nisha_Roy
Published on 2012-10-30T11:21:16Z Indexed on 2012/10/30 17:19 UTC
Read the original article Hit count: 293

Filed under:
|

I have a requirement where there are 10 Rules to be applied on data in excel. If Rule 1 and Rule 2 fails rest of the rules are not checked. But if Rule 1 and Rule 2 passes the rest of all the Rules should be verified and if any errors found- they should be logged. Is there any design pattern which I can use to keep this Rule Engine flexible for adding these 10 rules and Closed for any additional chains in the Current Rule. I was thinking of something like a Decorator Pattern. Will this help me achieve that?

© Programmers or respective owner

Related posts about c#

Related posts about design-patterns