Re: [PHP-DEV] singleton feature

2002-06-25 Thread BB
spective of the request. p - Original Message - From: Alexander Skwar [EMAIL PROTECTED] To: Purushotham Komaravolu [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, June 24, 2002 2:53 PM Subject: Re: [PHP-DEV] singleton feature So sprach Purushotham Komaravolu am 2002-

Re: [PHP-DEV] singleton feature

2002-06-24 Thread Sebastian Bergmann
Purushotham Komaravolu wrote: I have a small suggestion. I guess it is a good feature to have a provision to have a Singleton class per webserver instance. You can do this with SRM. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I

[PHP-DEV] singleton feature

2002-06-24 Thread Purushotham Komaravolu
Hi , I have a small suggestion. I guess it is a good feature to have a provision to have a Singleton class per webserver instance. This is especially useful for maintain user defined connection pools, loggers etc. Thanks Regards, Puru

Re: [PHP-DEV] singleton feature

2002-06-24 Thread Alexander Skwar
So sprach Purushotham Komaravolu am 2002-06-24 um 11:39:36 -0700 : Hi , I have a small suggestion. I guess it is a good feature to have a provision to have a Singleton class per webserver instance. This is especially useful for maintain user defined connection pools, loggers

Re: [PHP-DEV] singleton feature

2002-06-24 Thread Purushotham Komaravolu
PROTECTED]; [EMAIL PROTECTED] Sent: Monday, June 24, 2002 2:53 PM Subject: Re: [PHP-DEV] singleton feature So sprach Purushotham Komaravolu am 2002-06-24 um 11:39:36 -0700 : Hi , I have a small suggestion. I guess it is a good feature to have a provision to have a Singleton

Re: [PHP-DEV] singleton

2002-06-21 Thread Sebastian Bergmann
Purushotham Komaravolu wrote: Is there any way to create a singleton in Php4? Yes, but this is the wrong list to ask such questions. Anyhow: PHP 4 ?php class Singleton { function getInstance() { static $instance; if

[PHP-DEV] singleton

2002-06-20 Thread Purushotham Komaravolu
Hi All, Is there any way to create a singleton in Php4? I am trying to create a singleton clas for database connection pooling( so the class should be a singleton for the webserver instance and should be singleton across requests). Regards, Puru

[PHP-DEV] Singleton

2001-10-22 Thread Victor Hugo Oliveira
Has anyone any ideas on how to implement a Singleton in PHP4 ? Thanks, Victor -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Singleton

2001-10-22 Thread Jon Parise
On Mon, Oct 22, 2001 at 09:12:29PM -0200, Victor Hugo Oliveira wrote: This would be more appropriate on php-general, btw. Has anyone any ideas on how to implement a Singleton in PHP4 ? The Horde code uses singleton's extensively. For example: