[TYPO3] how to generate link

ries van Twisk typo3 at rvt.dds.nl
Wed Aug 1 18:30:29 CEST 2007


On Aug 1, 2007, at 9:53 AM, Jan Bednarik wrote:

>> 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.
>


TYPO3 is kinda picky :)
And typo3 never could really do it since php4 and singleton is
quite.. Hmmmm how can I say, awkward :D

However I believe the decision was made that from 4.2 php 5.x
is a requirement (I hope not 5.2 and up though).

Which opens doors






More information about the TYPO3-english mailing list