PHP 'died' along time ago with python (django) and Ruby (rails) and more recently Node.js or client side 'MVC'<br><br>Every one of those moved away from embedding the host language in the templates and used a basic interoperable templating system because embedded php / erlang just generated terrible code<br>
<br>erlydtl as I remember was quite nice<br><br><div class="gmail_quote">On 19 February 2012 00:19, Tim Watson <span dir="ltr"><<a href="mailto:watson.timothy@gmail.com">watson.timothy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 18 February 2012 20:05, Wes James <<a href="mailto:comptekki@gmail.com">comptekki@gmail.com</a>> wrote:<br>
> On Sat, Feb 18, 2012 at 4:13 AM, Joe Armstrong <<a href="mailto:erlang@gmail.com">erlang@gmail.com</a>> wrote:<br>
>> Thoughts on EHE<br>
>><br>
>> I'm playing with a little language for writing web applications.<br>
>> It's called EHE. All it is HTML with embedded Erlang<br>
><br>
> <snip><br>
><br>
><br>
> Isn't this what is in YAWS already?<br>
><br>
> <a href="http://yaws.hyber.org/dynamic.yaws" target="_blank">http://yaws.hyber.org/dynamic.yaws</a><br>
><br>
<br>
</div>It kind of is isn't it, although I must admit I'm a bit confused by<br>
the relationship between the erlang code and the surrounding HTML,<br>
especially as none of the examples seems to have any html around them.<br>
What's the difference between .yaws files and an appmod? The latter<br>
'feels' more natural to me, although clearly I don't really understand<br>
how the former works.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br>