QuickForm or HTML_QuickForm?

From: Date: Fri, 24 May 2002 12:36:27 +0000
Subject: QuickForm or HTML_QuickForm?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6387@lists.php.net to get a copy of this message
Just a thought on class nomenclature: I just saw that e.g. the QuickForm package's class name is declared as class HTML_QuickForm extends HTML_Common { ... So the user would have to write something like require_once("HTML/QuickForm.php"); $myform = new HTML_QuickForm(...); Wouldn't it be more convenient to strip all the 'HTML_', 'HTTP_' etc. prefixes from the class names like e.g. in the Auth package? It's really confusing for the end user that there's no common scheme for class names. Maybe it would make sense to extend the coding standards that whenever possible the name of the class should be the same as the package name. Well, just a thought. Since PEAR is still beta it could still be time to trim all packages to this scheme. Michael

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