[TYPO3-mvc] capture and re-use controller/view output
Loek Hilgersom
loek at netcoop.nl
Fri Nov 25 14:01:27 CET 2011
Thanks Henjo,
This helped me getting some ideas for a new approach, the quest continues (but I
got a new lead!)
Cheers,
Loek
On 11/25/2011 12:54 PM, Henjo Hoeksma wrote:
> Hi Loek,
>
> well, the key is they are almost the same. So it are 2 different actions.
>
> If I need some login in multiple actions I usually create a protected
> function for that in the respective controller.
> This way you are working clean: the method cannot be reached from another
> place as where you want and it's possible to call the method in both
> actions.
> Some times to keep my action smooth, I put logic in a protected function
> anyway, just to keep simple and clean.
>
> PS the part in the documentation of FLOW3 on OOP is actually pretty nice.
> Read a nice tutorial on MVC to get familiar with it's basic concepts. It's
> actually pretty straightforward.
>
> Kind regards,
>
> Henjo
>
More information about the TYPO3-project-typo3v4mvc
mailing list