Re: CakePHP should support better validation rules definition
It would be cool to see a plugin that did this. Or, feel free to post an RFC ticket on lighthouse. Like Thiago said, it would be great if you also backed it up with code :) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
CakePHP should support better validation rules definition
Hi all, I think CakePHP should support for better way to define validation rules. Like Yii::Model::rules() definition. There are many benefits from it: 1/ Shorter rule definition ( we can group the same rule the same definition) 2/ The rules' parameters are easier to be changed. (Sometime my rules parameters are read from my database) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: CakePHP should support better validation rules definition
Talking is cheap, show me the code! :-) -- Thiago Belem, Desenvolvedor WEB Enviado do meu Android Em 11/01/2012 02:40, datgs giangson...@gmail.com escreveu: Hi all, I think CakePHP should support for better way to define validation rules. Like Yii::Model::rules() definition. There are many benefits from it: 1/ Shorter rule definition ( we can group the same rule the same definition) 2/ The rules' parameters are easier to be changed. (Sometime my rules parameters are read from my database) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php