Validate package

From: Date: Fri, 05 Nov 2004 07:39:35 +0000
Subject: Validate package
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34208@lists.php.net to get a copy of this message
Hi devs, Did anyone ever think of splitting the Validate package into multiple files to avoid including 700+ lines of code with 10+ functions when only validating a string or e-mail address? Are there any drawbacks of splitting it (besides a possible BC-break?) PHP_Compat does it great: http://cvs.php.net/co.php/pear/PHP_Compat/Compat.php?r=1.15 (and I'm sure many other packages do). The factory pattern could be applied too. Opinions? -- Regards, Norbert Mocsnik http://norbert.mocsnik.hu/

« previous php.pear.dev (#34208) next »