[TYPO3-50-general] [TYPO3-team-core-v5] Templating Engine

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Oct 22 12:12:30 CEST 2008


Steffen Kamper wrote: on 22.10.2008 11:58:

> very good proposals!
> 
> +1 for the XML and moving namespace to xmlns which makes the rest of
> code better readable.
> 
> Also having XML at all it's easy to validate template which should be
> done all the time after create/edit (built-in-validation?)
> 
> <a href="#">
>     <f3:link controller="posts" action="editPost">
>         <f3:parameter name="postId">{post.id}</f3:parameter>
>     </f3:link>
>     Edit post
> </a>
> 
> how should parser replace the outer a-tag?

It should just "do it". :) <f3:link> should know that it should
manipulate the parent tag.

> [ot]can you propose a good xml-tool for editing custom xml ? I searched
> for something that can be used in php but wasn't lucky with search
> results[/ot]

I use Eclipse for PHP and it also provides nice XML support. It can
autocomplete, syntax-highlight and auto-close open tags. Haven't looked
into how it supports namespaces, or how I can tell him about the phptal
namespace so that he currently doesn't auto-complete or warns about
spellings in those tags, but auto-closes them and warns me about invalid
XML in general, which is enough for me.

And it also has a very nice structured view of XML, which I use a lot
when dealing with understanding foreign XML-data.

Cheers,
Ernesto


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