[plt-scheme] web-server and templates
Greetings all,
Has anybody made a template language based on the web-server
collection? I'd like to be able to split the HTML out into templates
and hand it off to somebody else who's more interested in web design
than I.
Currently I've just been including files of the form
(module mytemplate
(provide mytemplate-func
(define (mytemplate-func var ...)
(string-append <string-or-var> ...)))
and putting the HTML in long strings--which has two annoying problems:
I've got to watch for quotes in the HTML text, and these modules don't
seem to get recompiled when I visit the refresh-servlets URL.
Anybody have a better alternative?
Best,
jmj
--
Jordan Johnson -- Mammalian Biped