Thanks Ian for the response. I'll give you an example

Under servlet 2.2 tag spec. I have a custome tag library that lets me introspect model objects and dump out their properties as output. Nesting the tags can give you different levels of depth in introspecting say collections of objects.

Also I find that tags ( "<memapp:item> some html </memapp:item>" ) solve the roundtrip problems between coder and designer well in that HTML tools like DW do better with both a) properly showing a document with dummy data and b) not mangling the tags as they come out. Call me lazy but one of the things that turns me off the most form PHP/ASP/JSP is seeing a pretty "designed" page with dummy data get munched up as soon as it is tagged up.

I will look at cheetah though. And if I get some free time and as I get more comfortable with webware I might jump in where help is needed. Great product!

I just need to get a project that is good getting my feet wet writing on top of webware.

Antonio

On Monday, March 3, 2003, at 02:44 PM, Ian Bicking wrote:

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: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to