Web开发中的Perl [英] Perl in Web Development
问题描述
我听说过很多有关在CGI脚本的Web开发中使用Perl的信息,但是今天它们仍被广泛使用吗?从发展(非管理)的角度来看,值得学习吗?在Perl中比PHP更好地处理某些事情的例子是什么?
I have heard a lot about using Perl in web development for CGI scripts but are they still widely used today? From a development (Not an Administrative) point of view, is it worth learning? What would be an example of something that is better handled in Perl than PHP?
谢谢
推荐答案
不要打扰任何语言(Perl,C等)的CGI,而是研究现代Web框架。在该区域中,Perl已满载:
Don't bother with CGI in any language (Perl, C, etc) but look at modern web frameworks. And in this area Perl is fully loaded:
- Dancer
- Catalyst
- Mojolicious
- WebNano
PSGI您可以将它们部署在任何服务器上,例如FastCGI,Apache / mod_perl,nginx以及作为旧版CGI脚本。还有一些Perl特定的应用程序服务器,例如 Starman ,电晕, Tatsumaki 等等
And since they all use PSGI you can deploy them on any server such as FastCGI, Apache/mod_perl, nginx and as legacy CGI scripts. There are also Perl specific application servers like Starman, Corona, Tatsumaki, etc.
这篇关于Web开发中的Perl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!