[Catalyst] Re: Multiple applications (some cat based) on the same server

Aristotle Pagaltzis pagaltzis at gmx.de
Sat Aug 27 10:54:50 GMT 2011


* Peter Edwards <peter at dragonstaff.co.uk> [2011-08-27 09:40]:
> On 27 August 2011 08:07, Aristotle Pagaltzis <pagaltzis at gmx.de> wrote:
> > If they all have Plack integration it’s trivially easy,
                     ^^^^^
                          That should read PSGI, sorry.

> > something like
> >
> >    use Plack::Builder;
> >    builder {
> >        mount '/cat'   => $cat_app;
> >        mount '/mouse' => $other_cat_app;
> >        mount '/foo'   => $ledgersmb_app;
> >        mount '/'      => $shinycms_app;
> >    }
> >
> >
> Can you integrate PHP apps with Plack?

Not as of this writing. But a Plack::Middleware::PHP should be
a Small Matter Of Programming given PHP::Interpreter…

-- 
*AUTOLOAD=*_;sub _{s/::([^:]*)$/print$1,(",$\/"," ")[defined wantarray]/e;chop;$_}
&Just->another->Perl->hack;
#Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list