Re: green bean question on singleton php5
| From: | Nathan Nobbe | Date: | Wed, 16 Jan 2008 22:08:27 +0000 |
| Subject: | Re: green bean question on singleton php5 | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267453@lists.php.net to get a copy of this message | ||
On Jan 16, 2008 5:06 PM, Eric Butera <eric.butera@gmail.com> wrote:
> Also with the registry you can use lazy loading.
singleton is typically implemented with a lazy loading approach, and most
of the code samples ive seen on this thread today use a lazy loading
approach.
could you give us a more concrete example of what youre defining as a
registry,
eric?
thanks,
-nathan