[Typo3-dev] PHP problem revived

Martin-no$pam-Kutschker "Martin-no$pam-Kutschker" at blackbox.n0spam.net
Thu Apr 29 15:44:59 CEST 2004


dan frost wrote:
> Hello all.
> 
> Thought i'd throw my ideas in - as usual, they may be very unpopular...!
> 
> As php5 has such very, very powerful XML tools (compared to php4.x) why 
> not make the TCA into XML? E.g.

Because Typo3 would then have a dependency on PHP 5?


> Just like Templa Voila. I think putting this off until php5 would be 
> best - instead of using the array2xml function - because i've discovered 
> that the array2xml/xml2array function runs quite slowly (or : for a long 
> time) when the xml gets at all complicated.

I think that the xml2array routine could be much faster if it'd used 
callbacks/handlers rather than retransform an array parsed from xml.

And  the tt_content flexform field could be accompanied by some kind of 
cache. But where to put it so loading from cache is faster than parsing 
from xml. You could put the array into a field, but that would bloat 
tt_content (the array is copied for every row conating a flexform 
element). So you'd have to put it in a file - don't know how much 
performance penalty seeking, loading and unserializing from a file is.

> What do you think? Something for version 3.7?

Nah.

Masi





More information about the TYPO3-dev mailing list