On Sat, 2003-03-01 at 18:50, Antonio Rodriguez wrote: > Here's my question: has anyone done anything to replicate the jsp > custom-tag library functionality in w.w? PSPs are nice and all but they > fall down in the same places that ASPS/JSPS/PHPS fall down once you > start to mush code into presentation. The custom tag libraries were > *THE* way to solve that problem in the java world.
No, right now PSP doesn't do this. PSP is being used by quite a few people, but it's not being actively developed -- I guess for the people that use it it's feature complete. The code's not too complicated, if you were interested in fiddling with it. I haven't used them, but custom tag libraries always seemed a little excessive. What's the difference between a tag and a function call? You can subclass your PSP page from your own Python servlet, and put reusable functions in the servlet, then call <%= self.whatever(...) %> -- making it a tag doesn't seem to add much, except maybe a technique for modularity. > I think that ZPT/TAL is the solution for Zope but I'm not a huge fan of > going into Zope-world to rip stuff out and I'd much prefer if there was > a w.w. "native" approach. If you're interested in ZPT/TAL, try: http://www.owlfish.com/software/simpleTAL/index.html TAL tires my fingers out, though. Cheetah (cheetahtemplate.org) is another templating language which is quite nice to use. Ian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
