Encapsulating Business Rules with Zend_Validate




Zend Screencasts: Video Tutorials about the Zend PHP Framework  (iphone) show

Summary: <p>In this video, we’re going to work on building a custom validator for our composite form element for phone numbers. The nice thing about this validator is that it can then be applied to any sort of textbox. Next week, we’ll ajaxify our final form with a handful of lines of jQuery.</p> <p>Grab a <a href="http://zendcasts.googlecode.com/svn/trunk/zc51-encapsulating-business-rules-with-zend-validate/zc51-encapsulating-business-rules-with-zend-validate.zip">copy of the project</a> or <a href="http://code.google.com/p/zendcasts/source/browse/#svn/trunk/zc51-encapsulating-business-rules-with-zend-validate">browse the repository</a>.</p> <p>ServerGrove has offered to sponsor 3 videos in March! ServerGrove specializes in Zend Framework hosting and they’ve offered a 10% rebate on hosting with coupon code “zc”. If you’re looking for a host, be sure to <a href="http://secure.servergrove.com/clients/aff.php?aff=043">check them out (referral)</a>. They’ve also added an additional coupon for “Mini Hosting” plans, get $2 off by using code “zcmini”.<br> </p>