Designing Declarative Expressions
This presentation is part of the Declarative Expressions Self-Study Course.
In designing your declarative expressions, you should always consider three factors:
- Design with reuse in mind: Keep in mind the layering of your class hierarchy. Use generalized asset and shared layers to build reusable components. Add specialized decision rules in your specialized application classes.
- Build for Change: Who’s going to maintain this rule? Adopt an ‘execution engine’ approach (i.e., use parameters and rule resolution to make changing and versioning easier to do). This leads into the third consideration, which is
- Design for rule delegation – Can you segregate your rules so that business users can be given secure control over maintenance and changing specific ones?