[plt-scheme] Templates in the PLT Web Server
Agreed, but that's just how templating works. For years I resisted
adding templating precisely for these reasons, and never got around to
designing a proper and scope-respecting "functional" template
mechanism. Jay did the right thing to say screw it, let's move ahead.
I'm not the biggest fan of how @-reader syntax plays out here, but
again Jay was smart to peg his choices to it rather than invent a new
syntax. So, very cool.
Shriram
On Thu, Nov 20, 2008 at 11:46 AM, Noel Welsh <noelwelsh at gmail.com> wrote:
> Good to see. Although we currently don't make use of templates at
> Untyped, no doubt we will have use in the future. I can see these
> templates being useful for, e.g. blog engines, which require
> customisation by non-experts. The implementation is interesting.
> It's not what I would expect (breaking lexical scope, display via
> side-effects?) but it'll take more use for me to judge it.
>
> N.
>
> On Thu, Nov 20, 2008 at 4:33 PM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
>> Almost all Web application frameworks have a templating system to
>> allow the dynamic portion of a site to modify some semi-static content
>> before displaying it. These frameworks are primarily useful because
>> they allow the contributions of non-programmers to be more easily
>> integrated into an application and remove a barrier to using
>> traditional HTML design tools, like Amaya and Dreamweaver.
> ...
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>