[TYPO3-mvc] Extbase performance issues

Bernhard Schmitt himself at nezaniel.org
Wed Jul 4 11:54:09 CEST 2012


Am 04.07.12 11:46, schrieb Alexander Dick:
> Hi Patrick,
>
> Am 04.07.2012 10:53, schrieb Patrick Schriner:
>> Hi Alex,
>>
>> - if you have objects that have lots of objects as properties switching
>> those the @lazy loading model might help.
>>
>
> I have already tried that, but it leads to problems. If i remember
> correctly, I get an error when I try to access a property that has the
> lazy annotation.
>

Hi,

did you use
if ($this->property instanceof(Tx_Extbase_Persistence_LazyLoadingProxy)) {
   $this->property->_loadRealInstance();
}
in your property getter?




More information about the TYPO3-project-typo3v4mvc mailing list