Re: Re: cvs: pear /LiveUser/Perm Simple.php /LiveUser/Perm/Storage

From: Date: Wed, 15 Dec 2004 21:19:12 +0000
Subject: Re: Re: cvs: pear /LiveUser/Perm Simple.php /LiveUser/Perm/Storage
References: 1 2 3 4 5  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-35091@lists.php.net to get a copy of this message
Justin Patrin wrote:
OK, here's my take (sorry for the late late late reply :-| ). The global is much faster. The method call is more extendible, but takes more memory and processing power. For anything that might be extended (like the links and columns for DB_DataObject) having it in a method is nice as it's easy to customize per-object. If this code won't be extended / customized (or not customized per object) then the global is best.
the array can be extended, but the facility is already handled inside the config array. essentially the user can overwrite what he pleases. ok thx for the comment regards, Lukas

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