On Mon, Jun 9, 2008 at 12:58 PM, Alex Francis <[EMAIL PROTECTED]> wrote: > Hi all > > Following on from the very comprehensive and wide-ranging discussion > based on a "web.py" for perl - a couple of options were mentioned that > deal with the controller aspect of MVC as in dispatching a request to > the right place (action / command and subsequent view). > > Can anyone share their preferences for this part of building a web > app? What would you choose for a new project now? > > In the web.py thread i heard mention of > * Catalyst > * Maypole > * MasonX::MiniMVC > > and some other things which also no doubt cover this. > > One thing that kind of clicked in my head when I played with django > was the include() function in URLconfs, explained here: > > http://www.djangobook.com/en/1.0/chapter08/#s-including-other-urlconfs > > It's very like servlet dispatching in java, but with each "servlet" > defining how its own URLs behave within its allotted URL path prefix.
Here's how Catalyst deals with this, http://search.cpan.org/~zarquon/Catalyst-Manual-5.7012/lib/Catalyst/Manual/Intro.pod#URL_Path_Handling If I were choosing a Perl solution I'd go with Catalyst. P > > Any thoughts anyone? > > Alex > _______________________________________________ > BristolBathPM mailing list > [email protected] > http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm > _______________________________________________ BristolBathPM mailing list [email protected] http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm
