[TYPO3-core] RFC #9505: Make the caches in TYPO3 use the new caching framework
Xavier Perseguers
typo3 at perseguers.ch
Wed Oct 8 10:27:54 CEST 2008
Hi,
>>> I suggested this once, but Robert told me that singletons are bad when
>>> it comes to unit tests. I don't know, but maybe it helps (for unit
>>> tests) if t3lib_div::makeInstance() would test if the class implements a
>>> certain (fake) interface or has a certain doc comment set and stores a
>>> reference to the object in a static variable.
>> Nice idea, I would welcome that, too!
>
> Which one? There are two proposals.
IMHO Not the one with doc comment as t3lib_div should then parse the php
file everytime or integrate a caching mechanism for that.
--
Xavier Perseguers
http://xavier.perseguers.ch/en
More information about the TYPO3-team-core
mailing list