[TYPO3-mvc] Extension spread over several pages - best practice?

Bastian Waidelich bastian at typo3.org
Mon May 17 11:50:59 CEST 2010


Felix Oertel wrote:

Hi Felix,

>> But to be honest, I think it should not be the task of the URI builder
>> to look that up.

> I think so. ;-) The task of the uri-builder is too build the uri and
> looking up the PID is one part of it.

Sorry, but i disagree here. Looking up TS settings is not in the domain 
of the uri builder really.. Especially if we want to keep it (more or 
less) in sync with the FLOW3 version.


>> Maybe it would be better to do that in the respective view helper(s)
>> but then again

> Yeah, I did that before. But then you're unable to use the configured
> PIDs in redirects, etc

What do you mean?


>> <f:link.action action="foo" pageUid="{settings.somePid}"></f:link.action>
>> is not too bad after all, is it?
>
> it's not bad, but far away from "nice" ... i want to configure the PIDs
> once and then never care for them anymore ;)

agree.. Lets see what Jochen & Sebastian think about your solution.

Bastian


More information about the TYPO3-project-typo3v4mvc mailing list