[TYPO3-mvc] Refactoring of Typo3DbBackend::doLanguageAndWorkspaceOverlay

Nikolas Hagelstein lists at shr-now.de
Tue Jul 13 15:14:28 CEST 2010


Hi,

i was just reading trough Typo3DbBackend::doLanguageAndWorkspaceOverlay 
and came accross the following  i would like to hear your opinion about:

The following should be moved out of the foreach loop.
Partly to its own function:

1. pageSelectObject determination.
2. languageUid,workspaceUid and languageMode detection.
3. tableName determination.
4. overLaymode detection.
5. Check for languageField
6. overlayMode determination.

Moving stuff out of the the loop probably would increase performance.

Perhaps it makes sense to make a fuzz about it and implement 
processObjectRecords in  one  go.

If this makes sense to you i could provide a patch by friday afternoon.

Cheers,
Nikolas









More information about the TYPO3-project-typo3v4mvc mailing list