viraj
Jul 17th, 2007, 02:19 AM
Hi,
The application which I'm currently involving has several business logics. Some checks in business logics should be done in the presentation layer.
As an example : Identification numbers, that user enters should be checked with the database.
Is it a good idea to extend the validation framework to validate such business rules (so that validation framework contains some business rules.)?
Or
The better way is putting that sort of logics in controller level ?
Or
Other?
Please share your idea...
Thanks in advance.
/Viraj
The application which I'm currently involving has several business logics. Some checks in business logics should be done in the presentation layer.
As an example : Identification numbers, that user enters should be checked with the database.
Is it a good idea to extend the validation framework to validate such business rules (so that validation framework contains some business rules.)?
Or
The better way is putting that sort of logics in controller level ?
Or
Other?
Please share your idea...
Thanks in advance.
/Viraj