[Catalyst] "featurizing" a catalyst app
Tomas Doran
bobtfish at bobtfish.net
Sun Jun 28 15:08:46 GMT 2009
On 28 Jun 2009, at 09:16, Robert Buels wrote:
> Rodrigo wrote:
> > But how about the /root part? Can mixed-up root dirs be seen as a
> > single root dir easily?
>
> I'm interested in making a pluggable app as well. Seems like you
> and I would want the ability to specify an arrayref for MyApp-
> >config->{root}, and have that work. Poking around cursorily, that
> doesn't seem to be supported right now. Can somebody who knows
> what they're talking about (i.e. not me) confirm?
Assuming that you're mandating a TT view for your pluggable parts,
then you can just subclass View::TT to have an INCLUDE_PATH which
picks up the 'root' directories from all your loaded 'Components'.
Cheers
t0m
More information about the Catalyst
mailing list