Re: templating system



On 4/13/05, James Carroll <mrmaple@xxxxxxxxx> wrote:
> I've had fantastic results with SimpleTAL
> http://www.owlfish.com/software/simpleTAL/
>
> It uses the Zope Page Templates style markups (which are wysiwyg in
> dreamweaver) and then pulls contents from python functions and
> 'contexts' very nicely. Your example would look something like:
>
> <ul>
> <span tal:repeat="record records()">
> <li><A href="www.yahoo.com" tal:attribute="href
> string:http://imdb.com?search=${record/title}";
> tal:content=record/title>record title goes here</A>
> </span>

ZPT looks nice, but it can't produce non-markup text, right?
Besides that, I find it hard to read... it is kind of extra mental
step to translate "repeat="record records" into "for record in
records" :) But it is matter of taste of course.

--
Ksenia
.



Relevant Pages

  • Sequel query pulling up duplicate data
    ... Dreamweaver MX, for some reason on one account retrieved, ... it pulls up duplicate data. ... When a customer pulls up their account history, ...
    (microsoft.public.sqlserver.mseq)
  • Select statement returns duplicate data
    ... Dreamweaver MX, for some reason on one account retrieved, ... it pulls up duplicate data. ... When a customer pulls up their account history, ...
    (microsoft.public.sqlserver.connect)
  • Sequel query retrieves duplicate data
    ... Dreamweaver MX, for some reason on one account retrieved, ... it pulls up duplicate data. ... When a customer pulls up their account history, ...
    (microsoft.public.sqlserver.server)