<div dir="ltr"><div><div>My cellphone and I, we hates the client-side HTML rendering, gollumgollum.<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 11:01 AM, Jay McCarthy <span dir="ltr"><<a href="mailto:jay.mccarthy@gmail.com" target="_blank">jay.mccarthy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm curious why you think Mustache is better than Scribble (and the<br>
full power of Racket) in your templates?<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Jun 6, 2013 at 8:53 AM, Joe Gibbs Politz <<a href="mailto:joe@cs.brown.edu">joe@cs.brown.edu</a>> wrote:<br>
> On Wed, Jun 5, 2013 at 9:37 PM, Erik Pearson <<a href="mailto:erik@adaptations.com">erik@adaptations.com</a>> wrote:<br>
>> @joe I have a relatively simple implementation of "mustache" templates<br>
>> that I use for web server templating.<br>
>><br>
>> Something similar to your example would be<br>
>><br>
>> (render "Welcome {{username}}" #hasheq((username . "erik")))<br>
>><br>
>> where the data is a jsexpr (as in the json module).<br>
>><br>
>> If you are interested, I can send it. You could rip it apart and use<br>
>> it. I do plan on (kinda, sorta, eventually) releasing it into the<br>
>> planet and/or github, but it still needs more work, has not been<br>
>> tested (other than being used and any bugs fixed.)<br>
><br>
> Please do share! I'd like to give it a whirl; when I sent this<br>
> message I was somewhat hoping to hear about a package for Mustache in<br>
> Racket :-p<br>
> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br>
<br>
<br>
</div></div><div class="im HOEnZb">--<br>
Jay McCarthy <<a href="mailto:jay@cs.byu.edu">jay@cs.byu.edu</a>><br>
Assistant Professor / Brigham Young University<br>
<a href="http://faculty.cs.byu.edu/~jay" target="_blank">http://faculty.cs.byu.edu/~jay</a><br>
<br>
"The glory of God is Intelligence" - D&C 93<br>
</div><div class="HOEnZb"><div class="h5">____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</div></div></blockquote></div><br></div>