[TYPO3-dev] Moving the topic of the discussion a little bit -- Based of thread "Change roadmap..."
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Wed Apr 12 17:11:25 CEST 2006
JoH schrieb:
>
> The only thing I want to avoid is, that developers and admins will be forced
> to use a new so called "templating standard", be it smarty, XML or what
> else.
> After all TYPO3 is a framework. So it should be possible to plugin a
> different module and completely change the way of templating with a single
> klick.
The problem is the internal API. To prepare the data for Smarty you
basically create nice little PHP arrays and let Smarty do the looping etc.
You cannot do this with TYPO3 marker templates. There you have to write all
the looping code yourself.
If we really need a meta-template-API instead of simply using Smarty or any
other lib directly and insist of adding another level of layer/complexity
we must define an API with minimum set of features. Then we must bring
TYPO3's marker templates to this level.
As a result all old extensions must be rewritten to use the new API. So why
not simply switch to API and forget all about this inflexible marker stuff?
Masi
More information about the TYPO3-dev
mailing list