[PEPr] Comment on PHP::PHP_Modules

From: Date: Thu, 06 May 2004 06:54:24 +0000
Subject: [PEPr] Comment on PHP::PHP_Modules
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28873@lists.php.net to get a copy of this message
Alan Knowles (http://pear.php.net/user/alan_k) has commented on the proposal for PHP::PHP_Modules. Comment: I've mixed feelings on this. it's more a PHP_FunctionCreator. The concept is nice. - it would be cool to see it do somthing like: $class = PHP_ClassLoader::factory('Log/test'); just loads the file.. Log/test.php (based on include path) $class = PHP_ClassLoader::factoryReload('Log/test'); parse the file, find the class definition, and rename the class to a _tmp_md5(name)_filemtime(), and eval to create it. obviously not very usefull for web (due to speed), but for servers or gtk apps, very interesting.. Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=68 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

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