Re: Should I go with the Singleton Pattern or wait for 5.3?
| From: | Luigi Perroti | Date: | Tue, 15 Jul 2008 06:40:51 +0000 |
| Subject: | Re: Should I go with the Singleton Pattern or wait for 5.3? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276808@lists.php.net to get a copy of this message | ||
On Tue, Jul 15, 2008 at 2:10 AM, Chris wrote:
>
> Is this a decision for the whole project or just one particular part of
> it? Can that one part be put off until later or does it need to be done
> first?
>
This decision will impact the whole project.
I think that maybe I should go with the Singleton pattern approach
since it should allow for easier/quicker refactoring in case I have to
switch to another object oriented pattern.
BTW, thanks for your other reply on the php-db list.