Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

kixx (5946)

kixx
  (email not shown publicly)
+ -

  Comment: Re:OO and dispatching (Score 1) on 2010.04.16 11:22

by kixx on 2010.04.16 11:22 (#71900)
Attached to: Mojo vs Dancer Week 2 - Templates and Images

There's also the "put it all in a central dispatch file" (a la Django's URLconf, or even MojoX::Routes)

The disadvantage is that you can't just drop a controller class into a file to be automatically picked up by the app, you have to modify the dispatch file too.

But this turns to an advantage when you wish to selectively enable parts of you app (again, Django's admin feature comes to mind).

Read More 11 comments
Comments: 11