News Feed
Jobs Feed
Sections




News Archive
Ken Guest's Blog:
A response to "Better Postal/Zip Code Validation Method for CakePHP 1.2"
December 17, 2009 @ 11:14:53

In response to a different post he read on a postal/zip code validation topic, Ken Guest has points out other resources that can be used to accomplish the same sort of thing and already exist.

I drew attention to two things. The first is that there are Validation packages in PEAR, including the main Validate class and all the Validate_xx subclasses such as Validate_US, Validate_CA and some 22 others). The second item I drew Jamie's attention to is that his validation code counts a zip code of "00000' as valid, when the USPS zip code look up tool correctly (and they should know!) identifies that code as invalid.

He wholeheartedly opposes the "Not Invented Here" syndrome that developers (with a hefty dose of framework developers included) seem to have.

1 comment voice your opinion now!
response zipcode postal validation pear lookup


blog comments powered by Disqus

Similar Posts

Bill Staples' Blog: IIS7 Patch for Windows Vista fixes CGI/PHP apps - multiple response headers

Pierre-Alain Joye\'s Blog: PEAR Installer Issues

PHPied.com: The PEAR book is on it's way

Mike\'s Blog: PEAR Auth and vpop-xmlrpc

KillerSoft.com: Savant Gets Pearified


Community Events











Don't see your event here?
Let us know!


release phpunit database framework testing rest usergroup community zendframework2 introduction podcast interview opinion example functional symfony2 series language conference development

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework