The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
2answers
76 views

Using Prolog to implement authorization rules

I'm working on a user management "pseudoframework" in PHP, and I'm trying to implement fine-grained rule-based authorization. I'm using a combination of SQL and condition-checking functions written ...
0
votes
0answers
77 views

Appropriate design / technologies to handle dynamic string formatting?

recently I was tasked with implementing a way of adding support for versioning of hardware packet specifications to one of our libraries. First a bit of information about the project. We have a ...
1
vote
1answer
360 views

Implementing Rules-type logic without a rules engine (like Drools)?

I have a system that must output decisions and alerts based on input read from a messaging queue. This system will hold state about all objects in memory and update this state based on input from the ...
1
vote
1answer
198 views

Chained ruleset parsing and evaluation code: recommendations?

So I have to write a filtering system, which may apply preprocessed ruleset to data - and trigger some actions defined in the ruleset while continuing its evaluation. <ruleset name="1"> ...
0
votes
0answers
142 views

Algorithms or patterns for a linked question and answer cost calculator

I've been asked to build an online calculator in PHP (and the Laravel framework). It will take the answers to a series of questions to estimate the cost of a home extension. For example, a couple of ...
1
vote
2answers
581 views

Representing and executing simple rules - framework or custom? [closed]

I am creating a system where users will be able to subscribe to events, and get notified when the event has occured. Example of events can be phone call durations and costs, phone data traffic ...
11
votes
3answers
1k views

Why Aren't Rule Engines Written In Prolog? [closed]

From what I've seen of Prolog, it seems as if it would be ideal for crafting a rule engine for an app. Yet, I don't believe I've ever seen a rule engine written in Prolog. Is there some inherent ...
1
vote
1answer
188 views

Suggestions on how can I implement a generic matching system for users?

I need help with coding something. I'm trying to design a system that will allow users to setup rules for the system to process (similar to email processing rules, in a way). When I receive a chunk of ...
3
votes
3answers
197 views

Complex Mutual Exclusion Validation Logic

I need to validate some form inputs in complex way. E.g. <select id="options" multiple="multiple"> <option>A</option> <option>B</option> ...
1
vote
1answer
80 views

handling rules applied to a set of checkboxes, radio buttons or form fields

I've been wondering about applications that have a set of checkboxes or radio buttons, even collections of form fields in their UI. At this moment I'm handling all the choices separately but of ...
6
votes
4answers
424 views

Representing a rule in a ruleset

How to represent rules for a rule engine as objects? A rule would be if (booleanExpression(input)) then a chain of generic actions" else next rule ...where the generic actions might be e.g. ...
1
vote
2answers
226 views

Is Tax Localization a good use for Workflow Foundation?

Scenario: We have both Winforms and MVC code that is being used to work on a nation wide multi-user platform that does lots of logistics for lots of users. Tax rules change per state and even per city ...
11
votes
3answers
1k views

How does the use of a rules engine impact the design, implementation, and performance of an application?

I'm interested in the ability of rules engines to: launch and iterate over business driven logic have "business users" perform the actual modification of those rules rather than developers ...