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

Encapsulating Business Rules with Zend_Validate

03.28.2010 - By Produced by Jon LebensoldPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

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.

Grab a copy of the project or browse the repository.

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 check them out (referral). They’ve also added an additional coupon for “Mini Hosting” plans, get $2 off by using code “zcmini”.

More episodes from Zend Screencasts: Video Tutorials about the Zend PHP Framework (iphone)