Re: Re: Channels
| From: | Tomas V.V.Cox | Date: | Sat, 19 Jun 2004 14:55:38 +0000 |
| Subject: | Re: Re: Channels | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-1509@lists.php.net to get a copy of this message | ||
Paul M Jones wrote:
On Jun 19, 2004, at 9:16 AM, Tomas V.V.Cox wrote:Before going further, take in mind that "name spaces" would change too: class DB to PEAR_DB, class HTML_QuickForm to PEAR_HTML_QuickForm, the same for constants, globals, sessions, etc. Tomas V.V.CoxNowadays, we've taken the "include space", and this doesn't benefit the adoption of the installer because of possible file clashes. I find a better layout: <php_dir>/<channel>/XXX.php than the current: <php_dir>/XXXX.php New classes would do require_once 'pear/DB.php'; It's a nice opportunity to fix that :-)Completely agreed. This provides a great separation "hint" when looking at the file system.