Frameworks and Data Validation: At what stage should the validation occur?

Posted by Stuart Forster on 14th June 2011

One of the questions you may find when attempting even the simplest of form validation is; at what stage should the data be validated? If you have a Controller, a Form (we’ll use Zend_Form in this case) and a Model you’ll find you can choose to validate at all stages, or just the one.

Read more... [1 Comment(s)]