Re: [Catalyst] Method to overload per request

2007-08-10 Thread Matt S Trout
On Thu, Aug 09, 2007 at 02:28:52PM -0400, John Lifsey - Contractor - wrote: Dylan Vanderhoof wrote: Is there a method in C::Req (or any other part of Cat) that I can overload which is called only once per request? I thought that would be prepare, but it seems that is called several

[Catalyst] Method to overload per request

2007-08-09 Thread John Lifsey - Contractor -
Is there a method in C::Req (or any other part of Cat) that I can overload which is called only once per request? I thought that would be prepare, but it seems that is called several times per page load. Any advice appreciated. John ___ List:

RE: [Catalyst] Method to overload per request

2007-08-09 Thread Dylan Vanderhoof
-Original Message- From: John Lifsey - Contractor - [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 8:04 AM To: The elegant MVC web framework Subject: [Catalyst] Method to overload per request Is there a method in C::Req (or any other part of Cat) that I can overload

Re: [Catalyst] Method to overload per request

2007-08-09 Thread John Lifsey - Contractor -
Dylan Vanderhoof wrote: Is there a method in C::Req (or any other part of Cat) that I can overload which is called only once per request? I thought that would be prepare, but it seems that is called several times per page load. Any advice appreciated. John

Re: [Catalyst] Method to overload per request

2007-08-09 Thread Michael Reece
by several times per page load are you referring to multiple requests to render one page? (ie, if you have your css/js/etc served through your app) On Aug 9, 2007, at 8:04 AM, John Lifsey - Contractor - wrote: Is there a method in C::Req (or any other part of Cat) that I can overload