« IT Conversations Moves Back | Main | Using Amazon S3 with Google Earth »

Perl Web Framework Recommendations

Does anyone have recommendations on a Perl Web framework? I’ve heard of Catalyst and not much else. A few things make me leery: the blog is infrequently updated and the last release of the code was November of 2006. I know there are other frameworks (I vaguely remember attending a talk at OSCON) but I don’t know anything about them.

Posted by on July 30, 2007 5:09 PM

See related posts:

5 Comments

There are two big ones for Perl - Catalyst and Jifty. I would say Catalyst being the biggest and most advanced, while Jifty is right on the tail. Jifty focuses on the footsteps of Rails, with having an application set up right out of the box. Catalyst focuses more on the building blocks to building an MVC-based web app - you will have a basic site set up, but not all the CRUD right out of the box like you would Jifty. IMO Catalyst is the better because it is more flexible and builds from the very basics - you don't have all the fluff that you may not need with a basic Catalyst install. There are some CRUD set ups you can set up on top of Catalyst if you want to, though. Catalyst is also most stable, and has been around the longest. I actively use Catalyst on my GrandCentral Facebook App, and my SteepAndCheap SAC App for Facebook. I intend on using it to build quite a number of new sites as well.

As to the last release being November 2006, I wouldn't worry too much - there is still very much an active community supporting it. They recently had a bit of a re-structure, and are trying to decide the next phase to move it to, but they have definitely not given up. I hung out with the pump kings for Catalyst at YAPC::NA this year, and they have many plans for the future, including a book by Jon Rockaway to be released this fall. The book is also a reason for the lack of updates since November.

Let me know if you decide on Catalyst - there are a few others out there if you look around, but Jifty and Catalyst are the ones making the biggest strides in the Perl community.

I would definately say some of the top bleeding-edge winners are

Jifty: mostly led by Jesse Vincent and Best Practical, who are developing the next version of their excellent RT software in it. This one has a little more theoretical differences with other kits in Perl (continuations, DSL's, etc.)

Catalyst: Very powerful, IMHO more Rails like, but *much* more extensible (eg. designed to have CPAN as a plugin system). Extremely extensible actually. The code is actually extremely bleeding edge, which has been my biggest problem with it (massive cpan requirements, that update a lot if you are tracking)

CGI::App - more stable, quite usable

HTML::Mason is actually a full framework, and if you like more PHP style code, this is the one you want.

Oh yeah, I also started the perl wiki page for web frameworks :) More of them are listed and linked here: http://www.perlfoundation.org/perl5/index.cgi?web_frameworks

Oh, and if you are interested, you do know a few local Perl Mongers, and the local Lug president loves presenting on Perl stuff :)

Comment from Adam Parker at July 30, 2007 10:10 PM

What about http://www.masonhq.com/

I don't use it myself, but I know that a big company in ecommerce does.

Mason is more of a template framework, and trying to move more and more in that direction rather than the full MVC architecture. Currently it could be used for MVC though - that won't be the case for long, so the maintainers say.

On another Catalyst note, John Rockaway posted a new blog entry that gives some ideas of where Catalyst stands and what you'll see from it (and how his book on Catalyst is doing):

http://blog.jrock.us/articles/What%20I'm%20Up%20To.pod

Some other somewhat used mvc frameworks I forgot about are HTML::Template and Maypole. Catalyst really is the biggest, and I have grown to really enjoy it, even more than Rails.

Leave a comment

I encourage you to leave a comment below. Your email address will not be displayed on Technometria, but allows me to communicate with you directly. Your email address won't be displayed, but will be used to compute a MicroID for your comment.