[Bese-devel] tal:dolist
Waldo Rubinstein
waldo at trianet.net
Thu Sep 22 21:41:42 UTC 2005
Your email awakened a couple of questions for me:
1) Where can I find more documentation on TAL? Is this only for UCW?
I used TAL before with Zope (Python) framework. Is it the same?
2) I've seen postings using a different syntax for generating HTML
code from within UCW (YACLML) instead of TAL. Which is the preferred
or recommended method? Is there actually a productivity/performance/
reason for using one over the other?
Thanks,
Waldo
On Sep 22, 2005, at 5:07 PM, vlado tzankov wrote:
> Hi,
>
> I am new to UCW and I am doing some simple tests with it.
> I came to tal:dolist attribute.
>
> In a previous message in this mailing list I read the following
> (which seems to be true):
>
> tal:dolist="(something)" - (SOMETHING) returns a list of tal
> environment objects (which are themselves lists of alists, clos
> objects or hash tables).
>
> I do not know the internals of the framework, but why the objects
> themselves should be lists?
>
> For example I have 100 clos objects and I make a list of them - and
> I pass this list to tal:dolist to handle. It complained that the
> first object is not a list. After I made a list of 100 lists (every
> inner list contained just a single element - the clos object),
> everything worked.
>
> What is the idea behind this? (since I see it is done on purpose).
>
> Besides that - from what I have seen and tried till now - great work.
>
> BR
> Vlado Tzankov
>
> _______________________________________________
> bese-devel mailing list
> bese-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel
>
More information about the bese-devel
mailing list