Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Perl Web Development Frameworks

by Anonymous Monk
on Oct 22, 2007 at 12:09 UTC ( #646428=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

First of all thanks to all of you who are actively helping us out with our queries.

I have a question regarding the Perl Web frameworks.

I am good a Object Oriented Perl, have worked with extremely complex data structures and worked with advanced Perl, but I have never worked on Web Development with Perl. For that I have dabbled into various other technologies like VB/ASP and Java (not by choice though). and I have liked Java for the same.

However, the new influx of so many Web App farameworks like Catalyst, Jifty attract me to start (read learn) a Web Framework for development in Perl.

Can you please advise as to which is the better Web framework in terms of the demand for professionals in them.

I am in the UK and I would love if my fellow monks can advise as to what is hot and what is not ??

Replies are listed 'Best First'.
Re: Perl Web Development Frameworks
by gamache (Friar) on Oct 22, 2007 at 13:23 UTC
    I did a web software project in the Jifty framework last year. In my experience, there was a very steep learning curve. Jifty gets a lot of things right and is quite featureful and magical; however, the documentation is lacking (boy, that was polite) and things can get a little shaky unless you do everything The Jifty Way.

    Having worked through one project in Jifty, I am confident the next one would be live in 1/4 the time since I know the terrain. I'd recommend you do a sample project in Jifty before throwing your whole weight into it -- something with a similar set of features to what you want to build for real.

      I had a similar experience working with Jifty. I found the transparency on the database layer very good, and was able to get a lot of mileage out of that. When it came to the actual web code, however, I found Jifty getting in my way more than helping me out. Most of our bugs tracked back to a poorly documented user permission structure. After several days spent crawling through Jifty looking for what was set wrong, we eventually decided to strip out Jifty and build up a simpler system based just on raw Mason. Even factoring in the conversion time, it was a net gain in productivity.

      YMMV of course, and it should be noted we were working on a fairly simple application where rolling our own interface from scratch was not that big of a deal.

        I had a very similar experience regarding Jifty's user permission built-ins (and the docs which ostensibly describe them). Really, the whole project was a sequence of:
        • Try to find FEATURE_X in the docs. On failure, skip next step.
        • Try to extrapolate proper usage of FEATURE_X in REAL_LIFE_SITUATION_Y from the single provided line of sample code.
        • Beat head against wall for several hours.
        • Bug Jesse Vincent on IRC. Jesse provides the Right Way to do it in about ten seconds and 35 characters.
        • Code it. The solution generally works and is elegant.
        • 20 GOTO 10
        I can easily imagine how keeping Mason and throwing the rest out could make your life a lot more pleasant, especially if you don't need AJAX/continuations/insulation from SQL/a pony/other features that Jifty provides out of the box.
      Thanks to everyone for the answers...

      Monks ...keep rocking..!!!
Re: Perl Web Development Frameworks
by moritz (Cardinal) on Oct 22, 2007 at 14:47 UTC
Re: Perl Web Development Frameworks
by perrin (Chancellor) on Oct 22, 2007 at 14:41 UTC
    In terms of demand, the most popular framework for Perl is probably Mason. That's just a piece of the picture though. You should at least look at a few of the popular ones (CGI-Application and Mason as well as the ones listed above) before making your own choice.
      It's worth mentioning that Jifty relies heavily on Mason (and about 50 other modules).
Re: Perl Web Development Frameworks
by zby (Vicar) on Oct 23, 2007 at 14:38 UTC
Re: Perl Web Development Frameworks
by metaperl (Curate) on Oct 04, 2011 at 12:25 UTC

      I traded in cgi::application for mojolicious. It has everything you need out of the box and has templating built-in (and extendable).

      Mojo's biggest win is having adequate(not wordy) documentation, an instant sandbox (server,::lite, etc.), and supporting libs.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://646428]
Approved by moritz
Front-paged by derby
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2020-10-31 01:12 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (286 votes). Check out past polls.