Oops: s/forward training/forward chaining
I didn't want to imply there was AI involved... --s -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Scott Allen Sent: Monday, February 12, 2007 2:48 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Business Rules I've used the rules engine in Windows Workflow for a couple scenarios like this. The primary advantage for you, it sounds like, is that the rules can live outside the application in an XML format (you can embed this XML into an assembly, load it from the file system, or keep the rules in a column in a database table). You don't need to run a workflow just to use the rules engine, and you can build custom authoring tools. There is prioritization, forward training, and tracing / diagnostic support during rule execution. Some resources: See the "External Ruleset Demo" and "Rules in Microsoft Excel" samples [1]. I also have an article out there with an overview of rules in WF. [2]. -- Scott [1] http://wf.netfx3.com/files/folders/rules_samples/default.aspx [2] http://www.odetocode.com/Articles/458.aspx -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Paul Cowan Sent: Monday, February 12, 2007 12:01 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] Business Rules Hi, Not sure if everyone has forgiven me for my last rant which was pretty wrong :-) but I am looking for some advice to what I guess is a pretty common problem.We are developing an application that will have a lot of business rules that will change quite a lot during development. We have a domain model with aggregation used quite a lot. Now the most advanced I have ever got with this in the past is to have my POCO implement an IValidate interface and have the rules hard-coded into a validate method. As I am sure you will agree this is a very inflexible approach. Does anyone know a better way of approaching this time honoured problem? Cheers Paul =================================== This list is hosted by DevelopMentorR http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor. http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com