-
Oct 27th, 2005, 04:45 AM
#1
Validation on Controller vs Facade
Our application has two kinds of validation
1. You have the facade which validates our domain objects. This validates that everything meets our business requirments.
2. Then there is the controller / form that has form specific elements and the domain object on it. So we need some kind of 'form' validation that validates the data on the form.
Because the data on the form contains also our domain object we have validation method that can be found both on the facade as on the controller side.
Now, I was just wondering how most of you handle validation in a multi layered application.
Grtz
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules