[Mpls-pm] Frameworks and session management?

Ian Malpass ian at indecorous.com
Wed Nov 8 14:55:09 PST 2006


Eric Eklund wrote:
> I am looking to rewrite some old legacy code utilizing either 
> CGI::Application or Catalyst.  Looking at the two different frameworks 
> will quickly give a Perl novice a headache.  Does anyone have working 
> experience with either of these frameworks and session management?  If 
> so, would you be willing to share an example.  I have searched the Web 
> for tutorials that contain the features I am looking for and have come 
> up fairly empty handed.  At this point, I am siding toward CGI::App due 
> to the perceived learning curve of Catalyst.

I started building an application with Catalyst, and I got into a 
horrible mess when the "helper" scripts produced a mass of code I 
couldn't understand while I was trying to make use of the session 
management plugins. Well, actually, most of the problem was down in 
amongst the many and varied CPAN modules it worked with. Anyway, I tried 
CGI::Application, and it Just Worked (TM).

Much of the problem doubtless stemmed from me diving right in and trying 
to run before I could walk (whilst, er, diving). But still, Catalyst 
gives me the impression that I'll end up with a great pile of code I 
don't fully understand, and I've shied away from it as a result.

When mentioning all of the above on london.pm[0], Aaron Trevena 
mentioned Maypole, which is the project that Catalyst forked from, and 
which has since continued along its merry way. I have not yet 
investigated Maypole, but it might be worth looking at.

Ian

[0] In the thread at 
<http://london.pm.org/pipermail/london.pm/Week-of-Mon-20061016/004858.html>, 
which is part of a much larger and more sprawling debate featuring, as I 
recall, the standard london.pm bitching and willy-waving.


More information about the Mpls-pm mailing list