[TYPO3-core] RFC: #15094: Refactor of content objects of tslib_content

Steffen Kamper info at sk-typo3.de
Fri Jul 16 00:39:11 CEST 2010


Hi,

this is a SVN patch request.

Type: Feature, Cleanup

BT Reference: http://bugs.typo3.org/view.php?id=15094

Branches: trunk

The class tslib_content is a "monster" class having all content objects 
+ helper functions. This also lead to big objects for each cObj, and 
because INT-objects are serialized, big data in TSFE memory for INT-usage.


The patch splits the cObj in single classes for each single content 
object, they are only instanciated when they are needed. This lead to a 
small cObj with only data of used content objects.
The effect is less memory usage and better performance.

Additional the classes and tslib_content are cleaned by using CGL.

This is part one of this rewrite, followin steps will outsource some 
helper classes to get cObj as small as possible, then the stdWrap will 
be improved.

This refactor was a result from the T3DD10 workshop "Pimp Your Typoscript"
http://forge.typo3.org/projects/extension-tspimp and was done by a 
5-headed group.

vg Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15094.diff
Type: text/x-diff
Size: 358699 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100716/bdca6b43/attachment-0001.diff>


More information about the TYPO3-team-core mailing list