[TYPO3-team-core-v5] Templating Engine
Sebastian Kurfürst
sebastian at typo3.org
Wed Oct 22 08:05:01 CEST 2008
Hey Sebastian,
> to be honest at first I was not very happy to read about a new
> template
> engine, because it's one more thing on the big list of "What you
> have to
> learn to get from traditional TYPO3 Extensions to FLOW3 Packages".
> But reading the reasons it appeared ok to me.
It's no final decision yet, but we are seriously thinking about
including the templating engine in TYPO3 4.4 as well - so people can
get used to it, before they migrate. Besides, I think there will be
people writing Smarty or PHPTal connectors for v5 - so you'd be free
to use these as well.
Does this sound reasonable to you? :-)
> I have a suggestion for improving the overall syntax which makes it
> also
> easier to implement arrays.
> Why don't you nest parameters as tags into the containing tag:
>
> <f3:link:to>
> <f3:param name="controller">posts</f3:param>
> <f3:param name="action">editPost</f3:param>
> <f3:array name="requestParameters>
> <f3:index name="postId>{post.id}</f3:index>
> </f3:array>
> <f3:content>Edit post</f3:content>
> </f3:link:to>
>
> I think this does not fit well into your concept, but it does not have
> to be exactly like this. Maybe this can be an inspiration to you.
I've been thinking about it, and I think it could work with the
current concept as well.
However, I think that the above syntax is too verbose for my taste -
It is 8 lines, just to print a single link with some parameters? My
gut feeling is that this would be worse than it is now...
Why do you feel the above syntax is better than the one described by
me? I'm interested to hear your opinion :-)
> By the way: Is BEER3 someting like a development name or are you
> serious
> with that? Is there a deeper meaning behind that or is it just beer?
Beer3 means: Best Ever templateEngine Replacement - but it is no
serious name :-)
So we are still looking for good names.
Thanks for your comments,
Greets from Dresden,
Sebastian
More information about the TYPO3-team-core-v5
mailing list