[TYPO3-ect] Your experiences with Smarty

Steffen Kamper steffen at dislabs.de
Thu Mar 8 10:16:05 CET 2007


"Elmar HInz" <elmar.hinz at team.MINUS.red.DOT.net> schrieb im Newsbeitrag 
news:mailman.1.1173344042.2408.typo3-team-extension-coordination at lists.netfielders.de...
> Hello Ries, Steffen and others,
>
> meanwhile you have done some experiments with lib/div and Smarty. I didn't
> work with it myself. I would like to find an answer to this question:
>
> Do we need a Smarty connector object (smartyView)?
>
> Maybe Smarty has an API itself that doesn't need a special connector
> object. Maybe such an object could be of help.
>
> What is your experience? What is your vision?
>
> Regards
>
> Elmar
>
>

Hi Elmar,

Ries build up a gallery with lib/div and smarty and we discussed a lot.
First we moved to rpt_smarty because it's the better ext, later update (but 
still has to be updated)

Then smartyView is used as central point for
- initializing smarty
- assigning values

As you mentioned, there are several ways to use smarty, if smarty is 
initialised, you can assign values from every place.
But to keep the model of MVC clear and the methods transparent, i would say 
yes.

I will do some improvements too and will update the smartyView at WE.

vg  Steffen 




More information about the TYPO3-team-extension-coordination mailing list