[Catalyst] Plugins vs. Base Controllers

John Napiorkowski jjn1056 at yahoo.com
Wed Aug 30 14:09:18 CEST 2006

Check out the thread summary for this thread at: http://www.gossamer-threads.com/lists/catalyst/users/9312?search_string=Plugins%20vs.%20Base%20Controllers;#9312

and toward the bottom Matt gives and example and pointed me to a module that was using it. 


----- Original Message ----
From: Krzysztof Krzyzaniak <eloy at kofeina.net>
To: The elegant MVC web framework <catalyst at lists.rawmode.org>
Sent: Wednesday, August 30, 2006 7:18:33 AM
Subject: Re: [Catalyst] Plugins vs. Base Controllers

Matt S Trout wrote:

> If your only argument is "I need $c" you can usually do a controller, view or 
> model with an ACCEPT_CONTEXT method. Often you only actually need the app 
> instance (i.e. the "MyApp" class name in 5.70) not the full request context.

Could someone point me example (some basic template, existing code) of this?

-------e-l-o-y---------------------------e-l-o-y- at -k-o-f-e-i-n-a-.-n-e-t------

       jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej

List: Catalyst at lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

More information about the Catalyst mailing list