是否有一个列表比较了可用于在 Perl 中开发 Web 应用程序的不同框架的功能?

发布于 2024-08-30 17:07:44 字数 213 浏览 3 评论 0 原文

我最近在学习 Perl,想知道有哪些框架可用于创建 Web 应用程序。我最关心的是安全性,因此如果您推荐任何特定于安全性的 Web 框架,我会对这些框架更感兴趣。

当前接受的答案来自下面的线程

I've recently been learning perl and am wondering what frameworks are available for creating a web app. I'm mostly concerned about security, so if there are any security-specific web frameworks you'd recommend, I'd be more interested in those.

Currently accepted answer from thread below

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

何以畏孤独 2024-09-06 17:07:44

perlmonks 上的这个帖子有一些关于 perlmonks 的帖子安全上下文中的catalystframework.org/" rel="nofollow noreferrer">Catalyst(这是最现代/最强大的Perl Web 开发框架)。

为了进行总体比较,Web Frameworks/Perl5 的“比较”部分链接了其中的几个另外

,请记住,安全方面的主要问题是开发人员 - 如果您在开发中没有适当的以安全为中心的前景(这是主要的),您可以在最安全的框架中编写漏洞百出的代码。我们在安全网络开发培训中向我们提出了这一点,我碰巧同意)。

另外,根据 Brian 在评论中提出的问题,这些是一些有用的通用“Perl 中的网络安全”链接:

This thread on perlmonks has some info regarding Catalyst (which is the most modern/powerful Perl Web development framework) in security context.

For overall comparison, there are several of them linked in "Comparisons" section of Web Frameworks/Perl5 Wiki

Also, please remember that the main problem security wise is the developer - you can write hole-ridden code in the most secure framework if you don't have proper security-centric outlook in your development (that was the main point given to us in our secure web development training, and I happen to agree).

Also, as per Brian's question in the comment, these are a couple of helpful general "web security in Perl" links:

裂开嘴轻声笑有多痛 2024-09-06 17:07:44

框架有很多,其中一些比较流行的框架是 CatalystWeb::SimpleCGI::Application。 Catalyst 是更复杂、更强大的一种,非常适合大型 Web 应用程序。

There are plenty of frameworks, some of the more popular ones are Catalyst, Web::Simple and CGI::Application. Catalyst is the more complex and powerful one, well suited to big web applications.

满地尘埃落定 2024-09-06 17:07:44

我也能想到其他一些:

  • Mojolicious,一个小而强大的框架,在他们的网站上有描述。
  • Dancer,一个与 Mojolicious 类似的框架,旨在让除了其框架之外的任何东西都可以轻松上手。

事实上,Mojolicious 和 Dancer 之间目前正在进行一些竞争,争夺成为用于构建新的 CPAN Top 100 网站的新框架:

There's a few others that I can think of, too:

  • Mojolicious, a small and powerful framework, with descriptions on their website.
  • Dancer, a framework similar to Mojolicious that is designed to make it easy to get started with nothing other than its framework.

In fact, there's a bit of a competition going on between Mojolicious and Dancer right now to be the new framework to build the new CPAN Top 100 website:

烟织青萝梦 2024-09-06 17:07:44

除了 Web 框架之外,还可以查看 perldoc 工具包中的 perlsec 文档。它讨论了 Perl 用于创建安全、受保护的代码的所有功能。最大的一个是污染模式,其中来自任何不安全位置的字符串都会在内部进行标记,如果未经处理(通常使用正则表达式)就使用,则会抛出警告或错误。此语言功能可以帮助您发现从不可信位置阅读时可能出现的问题。

In addition to just the web frameworks, check out the perlsec doc in your perldoc kit. It talks about all the features Perl has for creating secure, protected code. The biggest one is taint mode, in which strings from any insecure place are marked internally, and if used without being processed (usually with a regex), throw warnings or errors. This language feature can help you catch possible problems with reading from untrustable locations.

小猫一只 2024-09-06 17:07:44

另一个资源是模板工具包。这为您的网页提供了格式化/模板工具。从他们的网站:

模板工具包是一个快速、灵活且高度可扩展的模板处理系统。它是免费的(两种意义上:免费啤酒和自由言论)、开源软件,并且几乎可以在人类已知的所有现代操作系统上运行。它成熟、可靠且文档齐全,用于为无数网站(从非常小的到非常大的)生成内容。

Another resource is the Template Toolkit. This gives you a formatting / templating tool for your webpages. From their site:

The Template Toolkit is a fast, flexible and highly extensible template processing system. It is Free (in both senses: free beer and free speech), Open Source software and runs on virtually every modern operating system known to man. It is mature, reliable and well documented, and is used to generate content for countless web sites ranging from the very small to the very large.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文