Re: singleton feature
| From: | Purushotham Komaravolu | Date: | Mon, 24 Jun 2002 22:03:35 +0000 |
| Subject: | Re: singleton feature | ||
| References: | 1 2 | Groups: | php.dev php.general |
| Request: | Send a blank email to php-dev+get-85555@lists.php.net to get a copy of this message | ||
Singleton means only one instance.. i.e. instance of a class per
webserver... all application scripts should talk only to that same instance
irrespective of the request.
p
----- Original Message -----
From: "Alexander Skwar" <ASkwar@DigitalProjects.com>
To: "Purushotham Komaravolu" <purikk@hotmail.com>
Cc: <php-dev@lists.php.net>; <php-general@lists.php.net>
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 class per webserver instance. This is
> especially useful for maintain user defined connection pools, loggers etc.
Uhm, what's a "Singleton class"?
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.iso-top.de | Jabber:
askwar@a-message.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 day 11 hours 5 minutes
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php