Re: Re: Final RFC for Net_SMPP/Net_SMPP_Client
| From: | Lukas Smith | Date: | Wed, 20 Jul 2005 08:58:03 +0000 |
| Subject: | Re: Re: Final RFC for Net_SMPP/Net_SMPP_Client | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38785@lists.php.net to get a copy of this message | ||
Alexey Borzov wrote:
It is actually a bad idea: PEAR packages should handle loading their files themselves. I already had to close a few bugs where users' overenthusiastic __autoload() functions broke on trying to load QuickForm's files. The "fix" to QuickForm is trivial, but I won't make it, my point being that users should not mess with automathic loading of package files. And if they are loading them manually, then they probably know what they are doing, including the correct file names.__autoload() is not yet a solution for PEAR at this point, but I see alot of potential for lazy loading code eventually. this is getting ever more important with the advent of AJAX applications where you end up with alot of requests that may or may not need all your usual infrastructure code. regards, Lukas