[Catalyst] Catalyst performance - controller vs TT

Toby Corkindale tjc at wintrmute.net
Wed Jan 11 17:09:55 CET 2006


On Wed, Jan 11, 2006 at 07:28:57AM -0800, Will Smith wrote:
> Hi, I have a question about the performance of Cat app. For the same
> function, like retrieve_all , should I put it in the controller or on the
> template? Which one will be faster? 

A few things to clarify first - When you talk about templates, which View
module are you using - TT?

Are you actually asking whether it is quicker to run *any* given function from
TT or Perl, or can you narrow it down to just Model-object-related data
functions?

tjc

-- 
Turning and turning in the widening gyre/The falcon cannot hear the falconer;
Things fall apart, the centre cannot hold/Mere anarchy is loosed upon the world
(gpg --keyserver www.co.uk.pgp.net --recv-key B1CCF88E)



More information about the Catalyst mailing list