plugins; was Re: [Catalyst] debug mode

mla maurice.aubrey at gmail.com
Thu Jun 7 01:22:43 GMT 2007


Matt S Trout wrote:
> On Wed, Jun 06, 2007 at 02:18:33PM -0700, mla wrote:
>> Matt S Trout wrote:
>>> On Wed, Jun 06, 2007 at 12:29:12PM -0700, mla wrote:
>>>> Is it not possible to offer the current Catalyst instance through
>>>> a class method? Something analogous to Apache->request, rather than
>>>> having to do the whole ACCEPT_CONTEXT prototype object thing?
>>> Not without limiting ourselves in terms of planned future features. Jifty
>>> does this because they're explicitly one app per process. We aren't.
>> When you say "per process," you mean operating system process?
>> You're talking about threading issues?
> 
> Threading, forking, and OS-level COW.

Forking and COW would apply just as much to instances though.

Assuming I'm not using threads, how would I hurt myself by
subclassing Catalyst and supplying a MyApp->context that returns
the current catalyst context?




More information about the Catalyst mailing list