[TYPO3-mvc] TypoScriptViewHelper
Jeff Segars
jsegars at alumni.rice.edu
Mon Apr 27 21:49:34 CEST 2009
Hey guys,
I've started trying Extbase and Fluid this weekend for an upcoming
project and have been very impressed so far. From the blog_example and
some quick reading of the source code, I was able to get my domain model
built and added some basic views as well. I consider it a good sign that
I made it that far without documentation so take that as compliment :)
I did have one question/suggestion in regard to the TyposcriptViewHelper
in Fluid. Are there any plans to support passing a data array to the
Typoscript rather than only specifying a TS path to be rendered?
Currently, I've modified the view helper locally so that it calls
AbstractDomainObject->_getProperties() on an object parameter and
inserts these properties as the data array for the cObject. There are
probably better ways to do it, but it seems to works fairly well and
adds a lot of flexibility. Just curious whether this is a good idea or
something to be avoided :)
Thanks,
Jeff
More information about the TYPO3-project-typo3v4mvc
mailing list