This might be a holy grail of the MVC frameworks - but there are good
arguments for having the validation in the Model (one of them is the
End to End argument - only in Model you have all the info needed for
full validation).  Will FormFu support that way of structuring the
app?

Can you include a model as the HTML::FormFu::Validator, call it when
saving the values and retrieve all the errors that it might generate?
This would require a documented Errors structure or object so that we
would know what the model should return.  What do you think?

Onother question - can you easily make a HTML::FormFu::Validator based
on a Data::FormValidator for example?

--
Zbigniew Lukasiak
http://brudnopis.blogspot.com/

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to