Monday, August 27, 2012

Re: Form validation and business logic

> Please help me with my doubts of form validation, is form validation a part
> of business logic?
> if yes, then why we put this in Controller?

You are not supposed put form validation logic in Controller - if you
are doing it then it is wrong

Tarique

--
=============================================================
PHP for E-Biz: http://sanisoft.com
=============================================================

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.

No comments: