What's the big deal with the business rules approach? (FAQ #17)
- What's the big deal with the business rules approach?
- What's wrong with the traditional hard-coding approach?
- How do business rules compare to hard-coded rules?
Click to enlarge
The problems with traditional hard-coded or hard-wired rules include:
- Duplicate rules must be coded & maintained in many systems
- It's hard to isolate rules from code during maintenance
- It's even harder to change and test applications
- It takes months to change ‘hard-coded’ business logic
- Redundant development & maintenance costs
The benefits of the business rules approach include:
- Shared rules (Reuse)
- Rules coded once
- Rules are isolated from code
- Externalizing rules results in smaller applications
- Smaller applications make it easier to change and test applications
- It takes days to change business rules --> Faster Time to Market
- Lower Development & Maintenance costs