>>>>> "p" == pilsl <[EMAIL PROTECTED]> writes:
p> How do you solve the DBI-thing ? I am planning to use the toolkit in
p> the future instead of our own homemade template-system. The very
p> essential part of this templatesystem is easy DBI-access. Our webapps
Many of my templates look like this:
[% USE member %]
[% FOREACH item = member.findsome('active') %]
name = [% item.name %]
signed up = [% item.created %]
[% END %]
where "member" is my module that speaks to the database and returns an
array (or sometimes an actual Template::Iterator) of hashes containing
the data.
I drive my application from the template using plugins.
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates