[racket] Dynamic Templates?

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Thu Jun 6 11:01:30 EDT 2013

I'm curious why you think Mustache is better than Scribble (and the
full power of Racket) in your templates?

On Thu, Jun 6, 2013 at 8:53 AM, Joe Gibbs Politz <joe at cs.brown.edu> wrote:
> On Wed, Jun 5, 2013 at 9:37 PM, Erik Pearson <erik at adaptations.com> wrote:
>> @joe I have a relatively simple implementation of "mustache" templates
>> that I use for web server templating.
>>
>> Something similar to your example would be
>>
>> (render "Welcome {{username}}" #hasheq((username . "erik")))
>>
>> where the data is a jsexpr (as in the json module).
>>
>> If you are interested, I can send it. You could rip it apart and use
>> it. I do plan on (kinda, sorta, eventually) releasing it into the
>> planet and/or github, but it still needs more work, has not been
>> tested (other than being used and any bugs fixed.)
>
> Please do share!  I'd like to give it a whirl; when I sent this
> message I was somewhat hoping to hear about a package for Mustache in
> Racket :-p
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.