What could be the reasons to implement your own rule engine instead of using an existing commercial/open source one? Any specific guidelines for implementing rule engines?
The inputs to a rule engine are a rule execution set and some data objects.
The simple way. What is a rules engine? A rule engine is a software tool that enables developers to model the world in a declarative way. Abstraction is the removal of details in order to enhance the visibility of a pattern.
Rules engines are used to execute discrete logic that needs to have 100% precision. Machine learning on the other hand, is focused on taking a number of inputs and trying to predict an outcome. It's important to understand the strengths of both technologies so you can identify the right solution for the problem.
See this post for argument for implementing your own:
Rules Engine - pros and cons
mainly the problem centers around the anemic data model anti-pattern. as described here:
http://martinfowler.com/bliki/AnemicDomainModel.html
How you should implement depends very much on the requirements but generally important points to consider when designing your own include.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With