[Catalyst] [RFC] Loading Plugins from lib/MyApp/Plugins

John Napiorkowski jjn1056 at yahoo.com
Tue Dec 18 13:44:59 GMT 2007


--- Bogdan Lucaciu <bogdan at wiz.ro> wrote:

> On Tuesday 18 December 2007 04:39:36 Christopher
> Laco wrote:
> > I know I've been down this thread before. When
> writing a framework that
> > generates customized Catalyst apps, it would be a
> whole lot easier
> > (well, more proper) to add plugins in
> lib/MyApp/Plugins, just like we do
> > with controllers/models/view, than it is to molest
> the MyApp.pm 'use
> > Catalyst' line to include custom plugins.
> >
> > I'm assuming that it's just a matter of tweaking
> the Module::Pluggable
> > search paths at the appropriate time when Cat is
> starting up.
> >
> > Is this a planned feature for 5.8? Could it be?
> > Yes, I'll volunteer to put some tuits on it if
> need be.
> 
> I would rather have this in the config.
> Even some Views/Models can be just in the config, as
> the files on disk are 
> sometimes mostly empty.

I'd also vote for the config, since I've had several
use cases of using one set of plugins in dev and a
subset of that on prod.  I'm sure I'm not the only
one.

-john

> 
> -- 
> Bogdan Lucaciu
> http://www.wiz.ro
> 
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo:
>
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
>
http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
> 



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping



More information about the Catalyst mailing list