Today I tried out Catalyst PAR support. There's a nice walk through of how to try it yourself on the Catalyst advent calendar:
http://catalyst.perl.org/calendar/2005/6 As you'll see, they are almost at the goal of making of making this as easy as it should be: % perl Makefile.PL % make catalyst_par By using this, I was able to copy the resulting ".par" file to another Linux machine and directly run the web application without installing Catalyst there. Very nice! There are still rough edges to smooth out, but these seem to be with PAR, and not with the Catalyst integration. For example, after three attempts I could generate a PAR file on Linux that would run on my FreeBSD server. If I used the binary mode, it couldn't find my "libc.so.6" on FreeBSD. If I used the "multiarch" solution, it complained that my Data::Dumper's were different versions. Perhaps there is already a PAR solution for this, and it's only some better documentation that is needed. Already it's useful to deploy between similar servers. Although I'd still like to play with them more, I think I'm becoming a fan of Catalyst's scaffolding and helper script system. For example, it was typing "catalyst.pl" that produced the "Makefile.PL" in the first place, along with a basic application skeleton. One example of the "helper script" system is with the Handel E-commerce framework. It's not specific to Catalyst, but provides some helper scripts for use with Catalyst: http://search.cpan.org/dist/Handel Using one of these scripts create an example bare-bones Handel application using the Catalyst framework. That seems like an appealing workflow to me. I'm also curious to hear more stories from other folks who have visited foreign lands of other web frameworks (Rails, Drupal, Django...). There are several good options now that are open source. It makes sense as we move forward to integrate the best from each as well as well as learning from the mistakes of others. Mark -- http://mark.stosberg.com/ --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
