From: Terrel S. <tsh...@tr...> - 2001-04-10 01:02:22
|
Tom Schwaller wrote: > Before this discussion I thought I knew what I wanted from > templates. Now I'm not sure anymore. > Maybe some kind of filter/pipe mechanisms (ala Servlet 2.3) > would be approriate or something like the taglibs in JSP. "We don't create a special class for each kind of tag." -- Chuck Esterbrook "Taglibs are part of evil an evil conspiracy to increase application bloat and sell more hardware." -- Terrel Shumway 8-) > As far as I can see everybody has different requests > for tempatlates, so it would be a good idea to use some > kind of plugin mechanisms which enables people to extend > the language the way they like it.. > > Right now I think I would be very happy if I could > change the PSP syntax (<%= var %> to [var]) at startup time > and restrict it to what I really need. m4 already lets you do that. 8-) > I'd like the Webware template mechanism to be the best > in town, which means, that you can define your own template > langage and emulate oters (ZTP, Webmakro, Tea,.. Taglibs) > by plugins. So people can migrate everything they want. > Unfortunately this is way to hard for me to design.. """The notion that Larry "There's More Than One Thousand Ways To Do It" Wall and Guido "You Only Really Need To Do It One Way" van Rossum can agree on ANYTHING where language design is concerned...""" -- Bob Calco, RE: PythonLabs Team Moves to ActiveState It sounds like this question extends to application design. 8-) I vote for Guido-style. -- Terrel |