Re: SRE (Simple Rule Engine)
From: Yahoo (joe_c_miguel-spam_at_yahoo.com)
Date: 06/30/05
- Previous message: Justin: "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 30 Jun 2005 07:54:15 GMT
Sure its possible to have a callback, it should probably do the callback
when an action is evaluated true rather than a rule being evaluated true;
also because you might want to have several actions. A question I have is
why does this make SRE easier to use? Cant you just look at the output from
the ROM after processing and do the same thing wrapped in a wrapper. I have
added a request in sourceforge.net (search under SRE) for the request.
Once a fact has a value it cannot take another value because this engine is
declaritive (just like XSLT is). Allowing for a simplified rule engine.
Remember that you have no guarantee which rule is going to run first!
Joe
http://sourceforge.net/projects/sdsre/
"topcoder" <topcoder.1qxv64@no-mx.forums.yourdomain.com.au> wrote in message
news:topcoder.1qxv64@no-mx.forums.yourdomain.com.au...
>
> Hi, I have been using this rule engine and its really great. I have been
> using it to control the navigation of our insurance site. The logic is
> somewhat complex because they could enter a value on the third page
> which contradicts previous answers and therefore need to be go back to
> page 1. This rule engine is really powerfull, so simple, its great!
>
> A couple of questions. is there a way to have a callback when a given
> rule becomes true? How come once a fact has a value it cant be given a
> new value?
>
> Paul the coder
> PBIG Insurance
>
>
> --
> topcoder
> ------------------------------------------------------------------------
> topcoder's Profile: http://www.highdots.com/forums/member.php?userid=278
> View this thread: http://www.highdots.com/forums/showthread.php?t=1366519
>
>
- Previous message: Justin: "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]