Now that everyone is talking about MVC, I notice that the business rules are not being addressed. In the old days of the 3-tier architecture, The business rules were in the middle layer. Where do they fall in the new MVC?
...
I'm looking for best practices for using the same data in different places without repeating yourself - this could include configuration or business rules.
Example 1. Data validation rules where you want to validate on the client using javascript, but you want to make sure by validating on the server.
Example 2. Database access where y...
I've skinned this cat a few different ways over the last 6 years.. hardcoded strings, static classes with consts, and resource files. What approach do you use, and why? Bonus points for integrating with client-side error messages!
...
When developing an ERP-like software or any other complex business system, what resources do you go to for best practices?
I'm a developer, not an accountant, not a purchaser, not a manager.
I do have project management experience in engineering (non-software related) and I have a fair amount of experience on business processes in Desig...
I have been tasked to come up with a list of the Business rules in one of our current applications. We have a very old document that has somethings, but has not been maintained, and as such is very outdated and inaccurate.
In an attempt to do it better than before, and hopefully more useful I have been asking fellow developers what type...
Should a business rule violation throw an exception?
...
I have a nodeset that contains various number of nodes with unique values. I
want the rule to fire if the nodeset contains nodes with some of the possible
values.
Example:
Instance containing a nodeset with one node with Y=1 AND another node with
Y=2 should fire rule.
Instance that should fire:
- X
- - Y - 1
- - Y - 2
- - Y - 3
- - ...
Does anyone know of a solid free and/or open source business rule management system. The organization I work for is developing increasingly more complex (business-wise) applications and it would be really nice to have a rule based system for saving, maintaining and allowing inter-relation of those business rules over time.
Edit: Additio...
We are shopping for Business Rules Engines.
We want to make our core application customizable to different customers with slightly different requirements.
The people who would actually do the customizations are analysts. I.e. non-programmers who are technically skilled (usually have a degree in sciences).
What are the criteria to evalua...
When is a Business Rules Engine used?
What is the difference between Business Rules Engines and scripting/configuration/customization
...
After some searching in google and wikipedia, I still can not get a clear image about the "difference" between
BRMS (Business Rule Management System) and BPM (Business process management)/workflow system.
can those two concepts do the same thing from each other? (theoretically)
A "rule" can be modeled as a "process" as well. isn't it?
...
I need a unit test to make sure I am accumulating vacation hours properly. But vacation hours accumulate according to a business rule, if the rule changes, then the unit test breaks.
Is this acceptable? Should I expose the rule through a method and then call that method from both my code and my test to ensure that the unit test isn't so...
I am looking to do something like this
public class ProductBiz: BizBase<Product> {
public List<String> BrokenRules {get;set;}
// Some kind of data + biz operation implementation
}
public static class ProductBizExtensions{
public ProductBiz Rule1(this ProductBiz prodBiz)
{}
public ProductBiz Rule2(this ProductBiz prodBiz)
{}
public...
because of my over abundance of hubris, I am working on a program that would process some of the data better than the current system we are currently using. My question is when the implementing business rules (i.e. if this piece of data matches this pattern send to this que) is it best practice to:
simply load all the rules into memory ...
How do you keep track of the business rules in your application code?
Lets say we are designing an order entry system. One of the business rules might be:
If the stock level of an item drops below its reorder point, create a purchase order for that item to bring its stock level back up to the minimum.
So, in our code, we might ha...
Are there any Business Rule Engine
implemented in PHP ?
If yes, please list them.
If not, than why not, what are the
reasons behind not having Business
Rule Engine in PHP and having it in
Java ?
...
Hello, subject is...
I have a Linq to SQL class that i need to define a "rule engine" before saving it back to the database, this of course involves all foreign keys - associations, common, the whole object graph i created and manipulated, or value changed object from the database.
Thing is, i don't have any experience on the subject a...
I am working on a decision engine / rule evaluation engine. For example:
Input: Customer and all the offences done by the customer
Output: Consequences of the offences
A sample case would be:
Input: Customer(Jhonny Chimpo, 999-00-1111), Offences ( Broke window, slapped boss, kicked team lead in his groin)
Output: Gets pink slip
So ...
I had asked this question previously on SO. This is related to it. We have code base similar to this:
IRecipie FindRecipiesYouCanMake(IEnumerable<Ingredientes> stuff, Cook cook)
{
if(stuff.Any(s=>s.Eggs && s.Flour) && cook.DinerCook)
{
if(s=>s.Sugar)
return new Pancake("Yum");
if(s=>s.Salt)
return new Omlette("Yay");
}
/*....
Hello
I'm trying to create what I think should be a relatively simple business rule to operate over repeating elements in an XML schema.
Consider the following XML snippet (this is simplified with namespaces removed, for readability):
<Root>
<AllAccounts>
<Account id="1" currentPayment="10.00" arrearsAmount="25.00">
<AllCu...