note 85896 added to language.oop5.patterns
| From: | uacaman at gmail dot com | Date: | Tue, 23 Sep 2008 18:47:48 +0000 |
| Subject: | note 85896 added to language.oop5.patterns | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144642@lists.php.net to get a copy of this message | ||
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
----
Server IP: 200.185.109.13
Probable Submitter: 200.192.77.254
----
Manual Page -- http://www.php.net/manual/en/language.oop5.patterns.php
Edit -- https://master.php.net/note/edit/85896
Del: integrated -- https://master.php.net/note/delete/85896/integrated
Del: useless -- https://master.php.net/note/delete/85896/useless
Del: bad code -- https://master.php.net/note/delete/85896/bad+code
Del: spam -- https://master.php.net/note/delete/85896/spam
Del: non-english -- https://master.php.net/note/delete/85896/non-english
Del: in docs -- https://master.php.net/note/delete/85896/in+docs
Del: other reasons-- https://master.php.net/note/delete/85896
Reject -- https://master.php.net/note/reject/85896
Search -- https://master.php.net/manage/user-notes.php