It can look pretty good with use of short tags
<dl class="videos">
<? foreach ($product->videos as $video): ?>
<dt>Video: <?=$video->track ?></dt>
<dd><?=$video->title ?>. <?=$video->description ?></dd>
<? endforeach; ?>
</dl>
with in my editor it looks like this:

If you want portable PHP code, prevent short tags. I never use them.
Nothing is wrong with good old <?php echo $var ?> imo
Posted By: IsaiahPHP is a template engine by itself.
I agree! However there are still times when you need a template system. Templates are very useful when you want to limit what someone can do, for example I recently finished a Kohana based project that allowed the user to customize an email template before sending it. I don't want to give them full access to the php interpreter, so I used the Temper library to give them access to a few different tags.
Dwoo can handle objects too. I just assign object to my Kohana View, and then I can use it as {$objectname->prop}. You can use arrays if you wish. You can also implement ArrayAccess in your object so you access object like array :-p. It's all up to you.
Posted By: alleAh, OK. So, the "{$array.element}" form is simply a shortcut served by Dwow to access handle arrays.
It looks like you're new here. If you want to get involved, click one of these buttons!