moritz: http://toroid.org/misc/widget.pl is from my mojolicious plugin. you use <%= widget 'foo', a => 1, b => '42' %> or whatever, and it's like include except that the values won't persist in the stash afterwards

but the connection should in some cases be only a query from webapp->deamon(and thus shortliving) and sometimes deamon->client(which then open3s some app, these connecting should endure the whole app lifetime and thus be long running)