|
|
|
|
|
by UK-AL
3280 days ago
|
|
"presence of sql escape characters" - isn't a business rule. That's technical. Range acceptance - could defiantly be a business rule.
Cross-field consistency - Could also be a business rule. I implement these rules both sides. Ideally i don't want an invalid command sent off in the first place. I also don't want badly implemented UI corrupting my business data. This way i can provide instant feedback to the user, and also protect the data in case the UI is badly implemented. The main point of these architectures is that you can use them from many user interfaces. |
|