The Business Rule Class was created to provide a uniform method of enforcing business rules and data validation in an application.
The Business Rule Class was created to provide a uniform method of enforcing business rules and data validation in an application. Furthermore it provides the ability to adjust and extend the business rules from the end user interface without recompiling the application. Allowing either a “super user” of the application to control the business rules, or the developer to ship different business rules tables, to different clients that make the same executable behave differently for each client. Default Rules are setup at design time, and written to the database when the application is ran, however these default rules can then be edited to change their behavior. Clearing the Rules table would have the effect of resetting all the rules to their default configuration. Validation errors are displayed using Balloon Tips, therefore the NextAge Balloon Tip class is required.
Enough of a sales job. I hope you enjoy it. If you have any questions, suggestions, complaints (well not complaints) then please use the comments below so we can all benefit from each others additions. This article will be updated with each new release of the class.
If you have any questions about the NextAge Open Source initiative be sure to check out this post.
The Download Links
Class and Documentation in a Zip File
Demo App with example code for all NextAge Open Source Class plus other bits and pieces
Change Log
Version 1.0 – Initial Release 1/16/2013
[suffusion-the-author display=’author’]
[suffusion-the-author display=’description’]