I'm fairly new to TT, and I am fortunate enough to be
given the task to rid ourselves of coldfusion and
replace it with TT (TT being my choice).

I have several "tags" in a template that each query
the  database, often the same table. Which is the
better way to approach getting my data? 

1) Using several "INCLUDE" directives in my template,
each which query the database 

or

2) Query the database in my handler, making the data
available to all my INCLUDE directives.

It seems wasteful to query the same table in several
INCLUDE directives when I could have just query that
table once.

Thanks....

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/


Reply via email to