[rules-users] Thoughts about rule authoring

Bruno Freudensprung bruno.freudensprung at temis.com
Fri Sep 16 11:37:41 EDT 2011


Hi,

I have a remark, maybe its just out of scope... however as it is in the 
perspective of enabling end users to deal with their business domain, 
leaving appart the technical aspects (which is one of strong points of 
Drools), here it is.

Drools is great because it enables to express things simply. For 
instance, in my company, we are annotating text. So our rules look like:
when
     jim: Annotation (name = "/Person/Jim")
     boston: Annotation (name = "/City/Boston")
     ...
However, in the end, it turns out that what is inside Strings is part as 
well of our business domain. Maybe it is probably stored into a database 
or whatever.

So, in my dreams (and, surprisingly, so said the customer I saw 
yesterday and that didn't know anything about Drools!!), when I 
Ctrl-space at the beginning of the String (after "/P), the rule 
authoring environment suggests "/Person", juste because it knows, 
somehow, that annotations can be one of those (maybe in absolute, or in 
that particular context).

Would you say that I completely lost my mind? :-) Or more prosaically 
that there is a design flaw in my data model?
Personnally I have the impression to be somewhere in the middle...

Best regards,

Bruno.




More information about the rules-users mailing list