[TYPO3-core] RFC: #11397: [Feature] Add class for render HTML header/footer for BE and FE

Martin Kutschker masi-no at spam-typo3.org
Fri Sep 4 21:42:55 CEST 2009


Steffen Kamper schrieb:
> Hi Ingo,
> 
> Ingo Renner schrieb:
>> Steffen Kamper wrote:
>>
>> Hi Steffen,
>>
>>> after talking to Benni i redesigned it.
>>> I renamed the new class to t3lib_pageRender
>>
>> This is not a class name I'd like to see introduced in the core.
>>
>> * first, it needs to be t3lib_PageRender if at all
>> * second, "Render" is a verb, class names are nouns though, thus it
>> must at least be Renderer.

Agreed.

>> * Renderer however is a bit strange or unspecific, so you might want
>> to think about the class really does and find a name according to that
>>
> 
> what the class does is render the HTML page. The tslib class is called
> TSpagegen which isn't a nice name too.
> I'm fine with a consense of naming but i'm not sure what's the best
> t3lib_PageRenderer
> t3lib_PageGenerator
> t3lib_PageHTMLRenderer

t3lib_HtmlPageRenderer

I'm fine with t3lib_PageRenderer.

Masi


More information about the TYPO3-team-core mailing list