Can i use Zend_From as an independent component in my existing applications which are not using any MVC modal?
lightflowmark wrote: > > Hi, > Zend_Form should handle all of this for you, with appropriate settings, > and might be an easier solution for you. > > Have you looked at > http://framework.zend.com/manual/en/zend.form.html > ? > > The quickstart will run you through validation fairly swiftly. > > Cheers, > M > > > > mnaveed wrote: >> >> Hello, >> I normally do all the validations (e.g. valid email, digits only etc) on >> php script when a page is post back to the server, and if all validations >> are passed then execute the method of the class to save the data. There >> is no validations done in class itself (in setter methods for public >> properties). Is this the right thing? >> >> 1. what is the best place to run the validations? I mean should it be >> done in the controller/script or should it be done by the business class >> itself? >> 2. Should i do the validations in both script and in class as well? >> 3. Can anyone provide me some links about best practices for the >> validations? >> >> Thanks. >> > > -- View this message in context: http://www.nabble.com/Some-help-needed-%28Validation%29-tp23738620p23766126.html Sent from the Zend Framework mailing list archive at Nabble.com.