Re: DB singleton function?
| From: | Ian Eure | Date: | Tue, 26 Oct 2004 22:56:06 +0000 |
| Subject: | Re: DB singleton function? | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-34092@lists.php.net to get a copy of this message | ||
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.
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]