Re: DB singleton function?

From: Date: Tue, 26 Oct 2004 23:07:01 +0000
Subject: Re: DB singleton function?
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34093@lists.php.net to get a copy of this message
Ian Eure wrote:
On Tuesday 26 October 2004 03:45 pm, Lukas Smith wrote:
Lukas Smith wrote:
Joe Stump wrote:
I don't want to use MDB2.
I wasnt telling you .. you were asking for input on how the singleton should be implemented and I gave you an example implementation which tries to address the specifics of a database layer.
Ah well actually Ian asked. Anyways I wasnt plugging MDB2 or I would have said: "Use MDB2, it has all you are asking for" :-)
Yeah... I know how singletons work, I'm just not sure if it should connect to the DB or just create the instance.
Well, and I was trying to give my opinion by pointing to the implementation I wrote for MDB2. It sounded like you wanted an opinion in your email atleast "Any DB developers have feedback on this issue?" sounded like that. Anyways sorry to have interrupted your chit-chat. regards, Lukas

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