[Dancer-users] multiple apps via a single app.psgi vs. many isolated single apps

Puneet Kishor punk.kish at gmail.com
Wed Nov 23 16:59:35 CET 2011

Inspired by the conversation about deploying multiple apps, and the problems with current Dancer version to dispatch the routes correctly, I have a slightly meta question: What exactly is the advantage of launching multiple apps via a single app.psgi file? Here is my motivation --

I have a multitude of different Dancer apps running on my computer (see http://earth-base.org/apps). The issue I face is that they are all in separate directories, and have different layout files even though they are all identical in appearance and most of their functionality. Just like Dancer.pm itself is installed in one location, and any upgrades to it are available to all my apps, I would also like to abstract the views and css and js. For example, I use the html5 boilerplate from http://html5boilerplate.com/ for all my apps. This means if I want to install the latest build of html5 boilerplate, I have to update it for all my apps. How could I make some of the currently app-specific views to be served from a single location? Would the multiple-apps-via-a-single-app.psgi help here?

Puneet Kishor

More information about the Dancer-users mailing list