我应该使用哪个 Perl Web 框架? [英] Which Perl web framework should I use?

查看:54
本文介绍了我应该使用哪个 Perl Web 框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 Perl 开发一个 Web 应用程序.

参考一些易于安装的 Perl 包(如 Strawberry).它也应该适用于 Web 应用程序.

解决方案

看看 Mojolicious,一个完整且现代的 Web 应用程序框架,其唯一要求是 Perl(不需要额外的模块!).

要安装它,只需下载 Strawberry Perl 版本并发出 cpan Mojolicious:不需要依赖项.或者,下载 Mojolicious 的最新 tar.gz,解压,然后 perl Makefile.PL &&进行测试安装.

有了它,您就可以获得现代 Perl Web 客户端、服务器、MVC 框架、插件、Websockets、模板引擎……随便你说,唯一的要求是 Perl (5.8.8+).

或者,看看 Catalyst,它比 Mojolicious 但也有几本书出版,背后还有一个更大的社区.

你可以安装各种现代 Perl 好东西,看看 Task::Kensho.它的目的是让所有现代 Perl 模块都用于开发 Web 应用程序等.如果没有安装任何先决条件,请提交错误报告,因为它应该可以正常工作

I would like to develop a web application using Perl.

Refer some Perl package (like Strawberry) which is simple to install. Also it should be suitable for the web application.

解决方案

Have a look at Mojolicious, a complete and modern framework for Web applications whose only requirement is Perl (no additional modules required!).

To install it, just download a Strawberry Perl version and issue cpan Mojolicious: no dependencies required. Or, download the latest tar.gz for Mojolicious, unpack it, and perl Makefile.PL && make test install.

With it, you get a Modern Perl web client, server, MVC framework, plugins, websockets, templating engine... you name it, and the only requirement is Perl (5.8.8+).

Alternatively, have a look at Catalyst, which has a bit more requirements than Mojolicious but also has a couple books out, and a bigger community behind it.

You can install all sorts of Modern Perl goodies having a look at Task::Kensho. Its purpose is to have all Modern Perl modules one uses to develop web applications, etc. If any of the prerequisites don't install, file a bug report as it is supposed to Just Work

这篇关于我应该使用哪个 Perl Web 框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆