[TYPO3] how to generate link
Jan Bednarik
info at bednarik.org
Wed Aug 1 16:53:43 CEST 2007
> I think Elmar instantiates cObject because it's more the OO way of doing
> things.
That's right. But since there's no singleton I'd prefer not to do this
this way. In my projects (see CoolUri) I use singleton and therefore I
can "makeInstance" whenever I want without wasting resources.
I think adding Singleton pattern to t3lib_div::makeInstance would be
quite simple. I've tried it once, but Typo3 didn't work then. I guess,
only a few chosen classes could be singleton.
--
Jan Bednarik
www.bednarik.org - web about Typo3 in czech
More information about the TYPO3-english
mailing list