Re: DB singleton function?
| From: | Lukas Smith | 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: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, LukasLukas Smith wrote:Yeah... I know how singletons work, I'm just not sure if it should connect to the DB or just create the instance.Joe Stump wrote:Ah well actually Ian asked. Anyways I wasnt plugging MDB2 or I would have said: "Use MDB2, it has all you are asking for" :-)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.