note 85896 deleted from language.oop5.patterns by danbrown
| From: | danbrown@php.net | Date: | Sun, 23 Jan 2011 16:36:44 +0000 |
| Subject: | note 85896 deleted from language.oop5.patterns by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176096@lists.php.net to get a copy of this message | ||
Note Submitter: uacaman at gmail dot com
----
In response to Partty:
Singleton is a very useful pattern, i guess you a missing the point.
Singleton is usefull to share a single instance of a class, lets say a config class among your
application without strong coupling and thus making the code more easy to give maintenance in case
of changes. Guess this is the whole point of OO.
Uacaman