[TYPO3-core] RFC Feature #10869: Integrate hook to pre-process the frontend rendering

Dmitry Dulepov dmitry.dulepov at gmail.com
Fri Apr 17 19:28:00 CEST 2009


Hi!

Oliver Hader wrote:
> Problem:
> Imagine the situation that the frontend rendering process has a special
> strategy to deliver content. For example some stored data could be used
> to serve the request directly but in some situations that shall not be
> allowed (e.g. when a frontend user is logged in) and then the regular
> TYPO3 rendering should be executed.
> Currently there is no early hook in index_ts.php that can handle this
> scenario.
> 
> Solution:
> Integrate a new hook 'preprocessRequest' which can pre-process the
> request and delegate the strategy about what to do to the specific
> requirement.

+1 by reading. I wouldn't use '_' in variable names (not CGL-compatible) but it is up to you. I have no problems with this :)

-- 
Dmitry Dulepov
In TYPO3 blog: http://dmitry-dulepov.com/article/was-your-e-mail-to-typo3org-rejected.html
LinkedIn: http://www.linkedin.com/in/dmitrydulepov
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs


More information about the TYPO3-team-core mailing list