mod_perl到底是个什么

perl.apache.org

mod_perl brings together the full power of the Perl programming language and the Apache HTTP server. You can use Perl to manage Apache, respond to requests for web pages and much more.

mod_perl  is more than CGI scripting on steroids. It is a whole new way to create dynamic content by utilizing the full power of the Apache web server to create stateful sessions, customized user authentication systems, smart proxies and much more. Yet, magically, your old CGI scripts will continue to work and work very fast indeed. With mod_perl you give up nothing and gain so much!
-- Lincoln Stein


mod_perl gives you a persistent Perl interpreter embedded in your web server. This lets you avoid the overhead of starting an external interpreter and avoids the penalty of Perl start-up time, giving you super-fast dynamic content.

As you'd expect from the Perl community, there are hundreds of modules written for mod_perl, everything from persistent database connections, to templating systems, to complete XML content delivery systems. Web sites like Slashdot and Wired Magazine use mod_perl.


我想第一段红字是很重要的,她这个避免了用perl这种script语言写cgi脚本的天生的不足:需要每次启动Perl

第二段红字更重要,在Mod_perl框架内,更好的实现了CGI原来一些东西,比如Apache::DBI,只要增加一句话,就可以让mod_perl里边的db连接变成持久的。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/82392/viewspace-434845/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/82392/viewspace-434845/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值