Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

1
vote
4answers
101 views

Rules engine suggestion for hard coded if-then-else

Reposting question as Previous post on same Topic was not clear. Currently our financial application receives multiple feeds in csv format from client, there are usually 100k to 5M rows of data. ...
-1
votes
1answer
33 views

Tools for generating a form from a schema, and applying process flow logic

We have a situation where the business has a range of datasets which end users contribute to. The business needs flexibility in adjusting or rather extending these datasets, and also publishing new ...
-3
votes
1answer
80 views

Best way of authenticating users using multi-tenant application

I have been asked to develop a multitenant application where, Company/Users can log in, a user can belong to a company, but I has been asked specifically that they don't want to be inviting users to ...
5
votes
1answer
2k views

A better design for a rules engine implementation

I've implemented a rule engine like this: public interface IRuleEngine { List<ValidationMessage> Validate(param1, param2, param3); } public class DefaultRuleEngine : IRuleEngine { ...
1
vote
0answers
410 views

Are there any rule-based programming language that are not considered production systems?

I am trying to learn the difference between a production system and a rule-based system because it seems to me that they are the same thing basically. I know that both refer to programs (system) that ...
0
votes
0answers
190 views

Business rules engine action verification

I am currently trying to implement a business rules engine that reads a JSON document called "policy container" which basically contains a list of so-called "policies". Each policy has a "pre-policy ...
1
vote
1answer
401 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
543 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
1answer
158 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
639 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
282 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 ...
15
votes
3answers
4k 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
553 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 ...
4
votes
3answers
321 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> <option>C</option&...
1
vote
1answer
92 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
2k 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. ...
19
votes
4answers
2k views

Generic rule parser for RPG board game rules - how to do it?

I want to build a generic rule parser for pen and paper style RPG systems. A rule can involve usually 1 to N entities 1 to N roles of a dice and calculating values based on multiple attributes of an ...
5
votes
1answer
13k views

Rule engine in .NET [closed]

I have to import data from Excel to an SQL database. The Excel data contains various parameters and their values, like P1, P1, P4, P5, etc. I have to apply business rules. Like if (P1 > 100 and P1 <...
4
votes
2answers
1k views

Web services and business rules engines

We have a web service that takes in input different types of messages. The function of the webservice is to merely write in a database the content of the messages. There is about one table (with ...
1
vote
2answers
267 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
4answers
3k 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 comprehend ...