Yes you are right Your answer is arrived me after I have posted mine.
The only advantage of my method is 

> -----Messaggio originale-----
> Da: cake-php@googlegroups.com 
> [mailto:[EMAIL PROTECTED] Per conto di Mariano Iglesias
> Inviato: mercoledì 7 febbraio 2007 19.28
> A: cake-php@googlegroups.com
> Oggetto: RE: How to validate a custom form?
> 
> 
> Follow my previous example. There's no need for you to add 
> the validation on
> your controller when it can be done on the model side. A 
> modeled piece of
> data can say when it is correctly modeled, or not. Decouple, baby.
> 
> -MI


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to