<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">My opinion is that functions don't belong in a<br>template because they mix logic into presentation.
</blockquote><div>what about presentation logic?<br> <br>A themer should be able to see what is available to them. Fair enough, not everything<br>conceivable should be included, since there will be an information overload.
<br><br>For php template tpl files we are collecting the variables visible inside the lambda, so that is not really a problem. <br>I don't have an answer about how to deal with nested templates, etc...<br><br>In my opinion a UI might not be needed in the general case, but there should be a summary of what is available for use in a theme.
<br><br>A UI, which creates a proxy between some variable pool and a template has it's uses, but it shouldn't be a central feature, it is just that - a helper proxy.<br></div></div>