[TYPO3-core] RFC #13074: Feature: stdWrap for inclusion of CSS and JS files via pageRenderer

Susanne Moog typo3 at susannemoog.de
Sun Feb 7 17:44:29 CET 2010


Hi,

Am 07.02.2010 17:18, schrieb Steffen Kamper:
> Hi,
> 
> 2 remarks from reading:
> 
> 1) why additionalParams.stdWrap? I like stdWrap as in your 1st version
> much more as it is clear.
> 
> 2) in pageRenderer please don't instanciate cObj all the time, this will
> slow down this class. Instead use an "on-demand-initialize object". See
> TSFE->getPageRenderer od template::getPageRenderer where it'S done the
> same.

ok, here goes v3, back to stdWrap as param because it's improbable that
we will add lots of other parameters. I added a helper method getCObj to
the pagerenderer though I'm not really sure if this is the right place
for it (t3lib_div? ;)).

Best regards,

Susanne
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13074_feature_stdWrapPageRenderer_v3.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100207/8850397a/attachment.asc>


More information about the TYPO3-team-core mailing list