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?
我正在Perl中创建一个用于回归测试的自动化测试框架。我想从测试机器上发布我的结果。我之前使用django服务器独立运行,无需安装。 Perl中哪个MVC框架有自己的独立服务器?基本上,哪个Perl MVC框架最接近django的服务器功能和DRY(不要重复自己)原则?
P.S. I will not rewrite my framework in python
附:我不会在python中重写我的框架
P.S.S I will not use Perl framework and django as MVC
P.S.S我不会使用Perl框架和django作为MVC
(no python on servers :( )
(服务器上没有python :()
4 个解决方案
#1
Catalyst comes with a built-in test server - check Catalyst::Manual::Tutorial for more details. This looks like a good place to start.
Catalyst附带内置测试服务器 - 查看Catalyst :: Manual :: Tutorial以获取更多详细信息。这看起来是个好地方。
#2
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).
每个流行的Perl Web框架都带有它自己的服务器:Catalyst,CGI :: Application,Jifty。最受欢迎和DRY-following是Catalyst(不知道Jifty中的DRY)。
Also there test result aggregators like Smolder.
还有测试结果聚合器,如Smolder。
#3
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
Catalyst附带了自己的服务器脚本/ myapp_server.pl。您也可以使用内置服务器在没有反向代理的情况下进行部署,但在这种情况下,建议使用Catalyst :: Engine :: HTTP :: Prefork:CATALYST_ENGINE ='HTTP :: Prefork'脚本/ myapp_server.pl
I believe Jifty also has a built in dev server, as does Squatting, but I haven't used either of them.
我相信Jifty也有一个内置的开发服务器,和Squatting一样,但我没有使用它们中的任何一个。
#4
Maybe Catalyst. I don't know if it has a stand alone server, but it's Perl with MVC,
也许Catalyst。我不知道它是否有一个独立的服务器,但它是带有MVC的Perl,
#1
Catalyst comes with a built-in test server - check Catalyst::Manual::Tutorial for more details. This looks like a good place to start.
Catalyst附带内置测试服务器 - 查看Catalyst :: Manual :: Tutorial以获取更多详细信息。这看起来是个好地方。
#2
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).
每个流行的Perl Web框架都带有它自己的服务器:Catalyst,CGI :: Application,Jifty。最受欢迎和DRY-following是Catalyst(不知道Jifty中的DRY)。
Also there test result aggregators like Smolder.
还有测试结果聚合器,如Smolder。
#3
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
Catalyst附带了自己的服务器脚本/ myapp_server.pl。您也可以使用内置服务器在没有反向代理的情况下进行部署,但在这种情况下,建议使用Catalyst :: Engine :: HTTP :: Prefork:CATALYST_ENGINE ='HTTP :: Prefork'脚本/ myapp_server.pl
I believe Jifty also has a built in dev server, as does Squatting, but I haven't used either of them.
我相信Jifty也有一个内置的开发服务器,和Squatting一样,但我没有使用它们中的任何一个。
#4
Maybe Catalyst. I don't know if it has a stand alone server, but it's Perl with MVC,
也许Catalyst。我不知道它是否有一个独立的服务器,但它是带有MVC的Perl,