-
Executing business validations using OT Rules (7 messages)
- Posted by: Guillermo Meyer
- Posted on: December 14 2006 05:56 EST
OT Rules is a simple open-source (LGPL) rule engine that focuses on execution, validation and business rules composition. One of the main advantages of using OT Rules (or any rule engine) is that you can define business validations and keep them isolated from business logic so you can add, remove, change or compose these rules and new rules in a simple, flexible way without affecting the business logic. "Execute business validations using OT Rules" gives an introductory knowledge of how can OT Rules be used. OT Rules is part of the OpenTranquera Framework, where other projects are also hosted, like Xkins, Providers, Web and PageSpy among others. Message was edited by: joeo@enigmastation.comThreaded Messages (7)
- Nice by simon carni on December 14 2006 08:54 EST
- Re: Nice by Diego Campodonico on December 14 2006 09:15 EST
- For english translation by null on December 14 2006 16:16 EST
- Re: For english translation by Diego Campodonico on December 14 2006 17:48 EST
- Looks like a procedural engine by peter lin on December 15 2006 18:10 EST
- Re: Looks like a procedural engine by Guillermo Meyer on December 18 2006 07:27 EST
- More like programming interface-oriented. by Victor Jan on December 17 2006 10:03 EST
-
Nice[ Go to top ]
- Posted by: simon carni
- Posted on: December 14 2006 08:54 EST
- in response to Guillermo Meyer
Looks nice. Clean, simple and springable :) -S -
Re: Nice[ Go to top ]
- Posted by: Diego Campodonico
- Posted on: December 14 2006 09:15 EST
- in response to simon carni
In my opinion, one of the better feature is that the rules are written in Java language and the configuration is separated from the rules (xml, spring or other Java code). However, in the future, is possible that the rules will be written in some scripting language. -
For english translation[ Go to top ]
- Posted by: null
- Posted on: December 14 2006 16:16 EST
- in response to Guillermo Meyer
For folks who need the site translated into English... Use the link below: http://translate.google.com/translate?u=http%3A%2F%2Fopentranquera.sourceforge.net%2Ftiki%2Ftiki-index.php%3Fpage%3DRules&langpair=es%7Cen&hl=en&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools Cheers -
Re: For english translation[ Go to top ]
- Posted by: Diego Campodonico
- Posted on: December 14 2006 17:48 EST
- in response to null
That´s good... But the article is in english!! The rest of the wiki is in spanish because we are from Argentina :) -
Looks like a procedural engine[ Go to top ]
- Posted by: peter lin
- Posted on: December 15 2006 18:10 EST
- in response to Guillermo Meyer
I took a quick look at CVS. Have you guys benchmarked it and measured how well it scales with 200 and 1000 rules? If the engine is procedural, it will have a hard time handling thousands of objects and 100 rules. It's nice to see the growing interest in rules and rule engines, but OTRules seems too limited to be useful in complex use cases. For a dozen rules and hand full of objects, it probably runs fine. peter lin -
Re: Looks like a procedural engine[ Go to top ]
- Posted by: Guillermo Meyer
- Posted on: December 18 2006 07:27 EST
- in response to peter lin
OT Rules is not intended to compete with rule engines like Drools, where you can create an intelligent system. OT Rules takes another approach, it is simpler and allows you to encapsulate business validations and compose and reuse them through your system. Using 1000 rules to execute a business validation is not a common scenario, but using in a range of 10-30 is more common and indeed scales well. We've used this engine in some production projects and certainlly helps us in implementing the validations in the business layer, in fact, this appropach helped us to reuse a lot of code and think the validations in an abstract way, allowing to create generic validations and pass parameters through the configuration file, thus reusing the same rule for different validations. Thanks for your feedback. Regards, Guillermo -
More like programming interface-oriented.[ Go to top ]
- Posted by: Victor Jan
- Posted on: December 17 2006 10:03 EST
- in response to Guillermo Meyer
It seems a usage of Spring instead of a rule engine.