[Bese-devel] tal:dolist
vlado tzankov
vtzankov at gmail.com
Thu Sep 22 21:56:02 UTC 2005
I have never used TAL before - but from what I see - more used is
generation of HTML within UCW.
For my needs I want to develop multilingual web application -
supporting Cyrillic as well.
I am using CMUCL and since it is not Unicode aware at all - I wanted to
put all static content for the different languages in TAL templates
(there is no dynamic multilingual content in my app - everything is in
English).
Probably this should go in another thread - but what are the "best
practices" for multilingual applications with UCW?
BR
Vlado
On Friday, September 23, 2005, at 12:41 AM, Waldo Rubinstein wrote:
> 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