[TYPO3-core] Use "namespace" directive for relative namespaces

Bernhard Kraft kraft at web-consulting.at
Mon Feb 25 15:12:16 CET 2013


Hello !

On 25.02.2013 14:28, Jigal van Hemert wrote:

> If a class is used more than a few times (approx. 3 or more, nothing set
> in stone) it would be nice to use the complete namespace for that class.
> Using partial namespaces would be less desirable IMO.

I just tried to optimize index_ts.php and noticed using multiple 
namespaces seems to work quite well. But take care when using xcache. It 
seems it does not work quite well with changing "namespace" directives.


greetings,
Bernhard


More information about the TYPO3-team-core mailing list