Forum Post: Re: Data Validation Approach

Status
Not open for further replies.
A

agent_008_nl

Guest
Maybe the line is: make the rules maintainable for customers / others? So externalize it from the applicationcode and put some dynamic evaluation for the rule in your code. The rule (can be put in the db) could be something like "customer.credit > 1000 and customer.credit < 2000". I have rules like this in the db and copy them to a dataset at as startup for quick access by the engine. And something like a flag rule active.

Continue reading...
 
Status
Not open for further replies.
Top