Specifically, you have two apps that are entry points into the same codebase/external storage.
I would ask how much you could extract out into code that does not rely on Dancer at all (database queries, etc.), and then the two apps themselves can be smaller, but call into common code. --Curtis On Fri, Mar 1, 2013, at 6:53, Rik Brown wrote: > Sounds like you really have two apps there, not one :) > > Rik > > > On 1 March 2013 10:06, Peter Corrigan <[email protected]> > wrote: > > > So can/will a single scoped Dancer2 app listen on multiple http ports > > with specific routes per port e.g. /search on 80 and /admin on 9000? > > Peter > > Peter Corrigan, > > Head of Organisational Development & Performance, > > James Hardiman Library, > > National University of Ireland, Galway. > > Tel +353-87-2798505 > > [email protected] > > > > > > On 1 March 2013 08:25, Alexis Sukrieh <[email protected]> wrote: > > > Nice catch, will look into that. > > > > > > Thanks > > > > > > -- > > > Alexis, on the road > > > > > > Le 1 mars 2013 à 04:58, Punter <[email protected]> a écrit : > > > > > >> I followed this tutorial http://advent.perldancer.org/2012/7 and built > > a very small but structured Dancer2 application. > > >> > > >> Now I would like to mount it as a PSGI application with Plack::Builder. > > What do I have to do? > > >> > > >> This here app.psgi configuration definitely doesn't work: > > https://metacpan.org/module/SUKRIA/Dancer2-0.02/lib/Dancer2/Deployment.pod#Running-multiple-apps-with-Plack::Builder(it > > was probably built for Dancer1) > > >> > > >> Thank you > > >> _______________________________________________ > > >> dancer-users mailing list > > >> [email protected] > > >> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users > > >> > > > _______________________________________________ > > > dancer-users mailing list > > > [email protected] > > > http://lists.preshweb.co.uk/mailman/listinfo/dancer-users > > _______________________________________________ > > dancer-users mailing list > > [email protected] > > http://lists.preshweb.co.uk/mailman/listinfo/dancer-users > > > _______________________________________________ > dancer-users mailing list > [email protected] > http://lists.preshweb.co.uk/mailman/listinfo/dancer-users -- Curtis Jewell [email protected] http://csjewell.dreamwidth.org/ [email protected] http://csjewell.comyr.org/perl/ "Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c Strawberry Perl for Windows betas: http://strawberryperl.com/beta/ _______________________________________________ dancer-users mailing list [email protected] http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
