PHPでLivaValidation

ちょっと前にPHP界隈で取り上げられていたLiveValidationPHP。PHPでやる意味は何かな、とexampleを見てみると

[php]
$html=””;
$frmTestLive=new LiveValidationMassValidatePHP(“frmTestLive”,$_POST);
$frmTestLive->addRules($formRules[“frmTestLive”]); // get the rules
$html=$frmTestLive->generateAll();

print ““;
[/php]
LiveValidation用のJavascriptが簡単に作れる、という感じでしょうか。そしてAjax?ですね?
機会があれば組み込んでみるテストのメモ、ということで。