[TYPO3-dev] Update database when saving plugin flexform configuration in BE?
Steffen Kamper
info at sk-typo3.de
Thu Sep 10 10:36:23 CEST 2009
Hi,
JoH asenau schrieb:
>
> A loop doubles the number of function calls in case you only want one row,
> since you have to call sql_fetch_assoc at least twice within the while loop
> to get back FALSE for the missing second row. Even if we are just talking
> about values < 1ms here, they will sum up to a significant value in the end,
> which is even more significant, in case we just want to deliver a page from
> cache, which would have been possible within just a few milliseconds.
>
> Got the point?
>
don't misunderstand me, i'm for all optimations in the API. But the
"normal" devs should use the API in extensions to be save. I've seen
extensions where devs make there own low level MySQL calls and that
shouldn't be the case.
So we have to differentiate: developers have to use the API, core devs
should optimize APIs and core.
vg Steffen
More information about the TYPO3-dev
mailing list