[TYPO3-50-general] New templating system?

Martin Kutschker masi-no at spam-typo3.org
Tue Mar 23 08:26:42 CET 2010


Thomas Fritz schrieb:
> 
> I do not know TypoScript and i do not know FLUID. I only SAW the syntax in
> documentations and so... And i have to say that i feel much more comfortable
> with FLUID and i think it is easier to learn IMHO, because of its HTML like
> Syntax. Just wanted to share my feeling about that...

But FLUID and TypoScript have different goals. FLUID is designed to create XML/HTML (and plain text)
with the possibility and need to take care about each necessary XML/HTML element, but it has not
much logic (besides conditions). TypoScript OTOH is a way to describe and configure objects that
will be eventually be rendered as XML/HTML/text. The basic syntax is simple and should be familiar
to any programmer as it uses the wide-spread dot-notation (object.property).

Of course you could cramp all the configuration needed to create the final output into the template,
but it would make your life not easier. The template designer, which very possibly is no programmer
at all, would have to worry about all the extra stuff he doesn't undertand. And what's more you rid
yourself of any reuse of the template.

If you want to mix html with business logic all in one file use Smarty ;)

Masi


More information about the TYPO3-project-5_0-general mailing list