List Info

Thread: note 78050 added to language.oop5.patterns




note 78050 added to language.oop5.patterns
user name
2007-09-25 15:23:30
For anyone who reads: anonymous at world4ch dot org

Please do not confuse the singleton for a global variable,
they are nothing the same. The global keyword is a way to
extract a variable from the global scope into your local
scope. A singleton is a way to control class instantiation,
independent of scope to a single instance.

In addition note the importance in design patterns, the
ability to interchange interfaces and abstraction to allow
easy adaption to a variety of needs and specifications
through a single means of access is invaluable to many large
scale enterprise applications. Specially pay-for software
that has many system architectures to accommodate. However,
the comment makes a good point to implement as necessary,
the many principles don't apply to every problem domain. Do
not conform your problem to a pattern, implement a pattern
to your problem.
----
Server IP: 64.71.164.2
Probable Submitter: 208.187.153.225
----
Manual Page -- http://www.php.net/manual/en/language.oop5.patterns.php
Edit        -- https://master
.php.net/note/edit/78050
Del: integrated  -- h
ttps://master.php.net/note/delete/78050/integrated
Del: useless     -- http
s://master.php.net/note/delete/78050/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/78050/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/78050/spam
Del: non-english -- 
https://master.php.net/note/delete/78050/non-english
Del: in docs     -- http
s://master.php.net/note/delete/78050/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78050
Reject      -- https://mast
er.php.net/note/reject/78050
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )