Have a look at Spyce v1.3.0, just released... I think you will like what
you find. :) I looked through the JSP specs, as well as the Jakarta
pointers that you gave me. The underlying framework that facilitates the
tags is not so well explained, but looking at the code clarified the basic
capabilities. I believe that I have emulated the majority of the
functionality within Spyce. I would appreciate your comments on the
design, and your help in creating standard active tag libraries for the
various tag-based functionality that you have in mind.
All the best,
On Tue, 12 Nov 2002, Ragu Bharadwaj wrote:
> Thanks for the response. The simplest example of a tag could be:
>which would output the time. The <date:something> syntax calls something
>in module defined for date: when it appears in a tag
>So I could have HTML like
>Note here that my syntax is very HTML-like. So this would ease the entry
>barrier to a non-Pythonista. I could pass args as attributes to this
>tag in a couple of ways:
>Tomcat taglibs are developed at
>As you can see from the sidebar, there are a substantial # of tag
>libraries already developed. Taglibs are better documented in
>Prentice-Hall books. I can help you there if you need it.
>WHile the above is a very simple example, there are some very
>complicated things that can be exposed very easily with simple tags. For
>example. the DBTags taglib documented at
>shows examples for retrieving stuff from dbs at
>When I was a Java head, I found tags very useful to get work done
>without caring for details like JDBC. These tags also eased things for
>folks more keen on the web design aspect with little programming
>Would love to be able to do this in a pure Python env. with Spyce.
>> -----Original Message-----
>> From: Rimon Barr [mailto:barr@...]
>> Sent: Tuesday, November 12, 2002 12:07 PM
>> To: Ragu Bharadwaj
>> Subject: Re: Spyce
>> Hi Ragu,
>> Interesting question. I had not thought of that. Currently,
>> it does not, but I find the question intriguing. What were
>> you considering? It would be possible to add something general like:
>> [[foo attr=value]]
>> The effect of this could be to call the foo module with the
>> attribute value pairs. And you could define that quite
>> easily. That's interesting. What kind of application where
>> you considering?
>> What does Tomcat do for tags that have bodies...
>> [[foo ...]]
>> What do you do with the text inside? Can you send me some
>> links to the semantics of Tomcat? Thanks.
>> All the best,
>> Rimon Barr - Ph.D. candidate, Computer Science, Cornell
>> University barr@... -
>> http://www.cs.cornell.edu/barr - Y!IM: batripler
>> On Tue, 12
>> Nov 2002, Ragu Bharadwaj wrote:
>> >Hi Rimon,
>> > Is it possible with Spyce to create and use tags like one can do
>> >with Tomcat's taglibs? If not is this in the plans?