views:

306

answers:

4

I am creating an automated testing framework in Perl for regression tests. I would like to post my results from the test machines. I have used django before where the server ran standalone with no installation needed. Which MVC framework in Perl has its own standalone server? Basically, which of the Perl MVC frameworks is closest to django's server capability and DRY (Don't Repeat Yourself) principles?

P.S. I will not rewrite my framework in python

P.S.S I will not use Perl framework and django as MVC

(no python on servers :( )

+3  A: 

Maybe Catalyst. I don't know if it has a stand alone server, but it's Perl with MVC,

Renato Aquino
It can be made to use HTTP::Server::Simple, so you could probably grow a "stand alone server" off that...
jettero
+16  A: 

Catalyst comes with a built-in test server - check Catalyst::Manual::Tutorial for more details. This looks like a good place to start.

Chris Simmons
In the Catalyst Manual, there is an interesting section about the pros/cons of each deployment solutions in Catalyst: http://search.cpan.org/~hkclark/Catalyst-Manual-5.8000/lib/Catalyst/Manual/Cookbook.pod#Deployment
sebthebert
+7  A: 

Every popular Perl web framework comes with it's own server: Catalyst, CGI::Application, Jifty. Most popular and DRY-following is Catalyst (don't know about DRY in Jifty).

Also there test result aggregators like Smolder.

Alexandr Ciornii
+6  A: 

Catalyst comes with it's own server script/myapp_server.pl. You can also deploy with our without a reverse proxy using the built in server, but in this case it's advisable to use Catalyst::Engine::HTTP::Prefork: CATALYST_ENGINE='HTTP::Prefork' script/myapp_server.pl

I believe Jifty also has a built in dev server, as does Squatting, but I haven't used either of them.

singingfish