The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
67 views

File validation rules

I have an application that can accept CSV files to run some operations. The files look like: CREATE USER:username,last_name,first_name,age user1,Smith,John,23 user2,Poppins,Mary,257 There are a ...
3
votes
2answers
166 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
94 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
611 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
244 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
178 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 ...
11
votes
3answers
2k 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
255 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
239 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
86 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
626 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
240 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
2k 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 ...