[TYPO3-mvc] TypoScript manipulation per object property

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Fri Jul 23 01:10:25 CEST 2010


Helmut Hummel wrote:
> This pattern is known as "decorator pattern".

Ah, there we go - I've seen this approach in the Zend Framework,
but didn't relate it to this topic.

The main reason, as I mentioned, was to set some TypoScript
configuration per object property, which would then be applied
when the property gets rendered.

Now that all goes into the depth of Extbase/Fluid, and for
me that's much to complicated, but I think a functionality
to preprocess object properties can be quite useful.

Not sure how to combine that decorator approach with viewhelpers.
Maybe viewhelpers could be configureable via TypoScript?

Like:

<f:any.viewhelper configuration="settings.viewhelper.any">
	{object.property}
</f:any.viewhelper>

Uh, but that doesn't preprocess the property in any way ... oO

Regards,
Thomas


More information about the TYPO3-project-typo3v4mvc mailing list