fresh off the press .... 
http://www.p4c.philips.com/cgi-bin/dcbint/cpproduct_selector.pl

If you want to have a nose around, in the Enter model number, type hdd<enter> 
and then choose a product with an image and away you go.

Now, some questions about best practice.

Can I set STAT_TTL to undef to stop the stat altogether or just choose a large 
figure?

Indentation ......... what do you prefer ........
[%
IF .....
  fdfdfdfdfdfffdfdfd
%]

  html stuff

[% END %]

or ........

[% IF .....
       fdfdfdfffddfdfdf
%]

 html stuff

[% END %]

or some other way?

Is there much/or no overhead when using plugins? For example, URL, rather than 
rolling your own?

What's better in terms of squeezing as much out of TT as possible?

[% FOREACH item IN list;
        do lots of stuff (counts or whatever)
      data_var = "result of processing"
%]
  <td>[% data_var  %]</td>
[% END %]

or .....

[% 
FOREACH item IN list;
     do lots of stuff (counts or whatever);
      data_var = "result of processing";
    "<td>$data_var</td>";
END 
%]

or ...........

[% 
 FOREACH item IN list;
     do lots of stuff (counts or whatever);
      data_var = "result of processing";
     '<td>' _ data_var _ '</td>';
END 
 %]

I ask these questions because there have been 2/3 of us working on this and now 
we've gone live, we're now comparing style.

Thx for a great product, management are already gushing (uuurgh) and I look 
forward to your help/suggestions.

Merry Xmas and Happy New Year (just trying to soften you up)

-Ants


Disclaimer: Technically, I'm always wrong!!
       
---------------------------------
 Sent from Yahoo! &#45; a smarter inbox.
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to