On Mon, Sep 24, 2012 at 02:24:31PM +0100, Alex C wrote:
On 23 September 2012 01:27, gvim <gvimrc@gmail.com> wrote:
I'm converting a CGI::Application web app to Dancer and have always used a
modular approach so am I missing something if I prefer to do it this way:
I think this is a very nice technique. My Routes.pm is growing to
3000 lines and I think I will refactor it using this same technique
you have suggested.
Dancer is great at route creation and dispatch, session management etc -
the web-specific bits of an app. But that's *all* it's good at (which is
a good thing). I want to keep it the hell out of my application code!
Yes. Yes. Yes.