[eluser]BrianDHall[/eluser]
Dudes, Phil Sturgeon's implementation of Dwoo is sooo sexy!
It works just like I wanted!
Code:
controller:
$array['messages'][] = array('text' => 'hello');
$array['messages'][] = array('text' => ' ');
$array['messages'][] = array('text' => 'world');
$array['messages'][] = array('text' => '!');
view:
I would just like to say, {loop $messages}<?php echo $text; ?>{/loop}
And it actually works - you can mix PHP code right inside a set of Dwoo {loop} tags, no muss, no fuss.
I never thought I'd say it, but a templating engine is actually awesome, specifically as implemented by Phil in CI = Dwoo is the shiznit, and its impact on baseline performance seems altogether tolerable