Re: Singletons

From: Date: Wed, 05 Feb 2014 14:45:41 +0000
Subject: Re: Singletons
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-72277@lists.php.net to get a copy of this message
On 05.02.2014 15:33, Rowan Collins wrote: > Johannes Schlüter wrote (on 05/02/2014): >> On Wed, 2014-02-05 at 13:09 +0100, Sebastian Krebs wrote: >>> Beside this: Thats how it works in all me known languages. I don't >>> know any >>> language, where a pattern (in any form) is part of the core. >> You mean like PHP which i.e. ships Observer pattern? >> http://php.net/splobserver > > Personally, I've never really understood what the point of those > interfaces is; I guess just for standardisation, which could (now) be > better achieved in a standardisation body like FIG. > > I wonder if anyone actually uses them... Yes, I used them (and ArrayObject) on some occassions. I see no conflict between having them in core and FIG agreeing on their usage or something different. But that's nothing about singletons, which I haven't used since php4 era. -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.internals (#72277) next »