简体   繁体   English

是否有将 mod_perl 移植到 Catalyst 的好资源?值得吗?

[英]Are there good resources for porting mod_perl to Catalyst & is it worth it?

We have a big e-learning mod_perl web app, which use AxKit, XML, XLST and javascript primarily running on a unix server.我们有一个大型电子学习 mod_perl 网络应用程序,它使用 AxKit、XML、XLST 和主要在 unix 服务器上运行的 javascript。 What I've came to notice is that the codes are rather messy, and there has been a few generations of developers coming in and out.我注意到的是代码相当混乱,并且有几代开发人员进进出出。 Due to the current structure, the task of trying to make a simple hello world webpage involves writing a few components to get it work, due to the AxKit XSL transformation thingy.由于当前的结构,尝试制作一个简单的 hello world 网页的任务涉及编写一些组件以使其工作,由于 AxKit XSL 转换的东西。

So, I'm looking at the powerful Catalyst framework, and the MVC itself is making me drool.所以,我正在研究强大的 Catalyst 框架,MVC 本身让我垂涎三尺。 I'm looking for resources and best practices to see if porting the current web app over to Catalyst is feasible.我正在寻找资源和最佳实践,看看将当前的 Web 应用程序移植到 Catalyst 是否可行。

I would like to hear from fellow Catalyst-ers if the move will be worth it in case my management ask the magic question, why?如果我的管理层提出这个神奇的问题,我想听听其他催化剂是否值得这样做,为什么?

thanks :)谢谢 :)

My guess would be "it depends on how much AxKit are you using".我的猜测是“这取决于您使用了多少 AxKit”。 If you're just using XSLT and not XSP, XPathScript, or any of the styles dynamic stuff then it'll probably be pretty straight forward.如果您只是使用 XSLT 而不是 XSP、XPathScript 或任何样式动态内容,那么它可能会非常简单。 If you're using some of the more interesting creatures in the AxKit universe then you'll certainly want to take a deeper look at how well Catalyst can support things like XPathScript and XSP (as far as I know there isn't any support currently).如果您正在使用 AxKit 世界中一些更有趣的生物,那么您肯定想更深入地了解 Catalyst 对 XPathScript 和 XSP 之类的支持(据我所知目前没有任何支持) )。 If you're looking at dumping XML/XSLT entirely then it's certainly easier to go down the Catalyst path than not.如果您正在考虑完全转储 XML/XSLT,那么走 Catalyst 路径肯定比不走更容易。

I know several of the AxKit developers have used, and do use Catalyst for some projects and even the most stubborn of them will probably admit that Catalyst is powerful and easy to achieve some goals.我知道一些 AxKit 开发人员已经使用过,并且确实在某些项目中使用了 Catalyst,即使是最顽固的人也可能会承认 Catalyst 功能强大且易于实现某些目标。 AxKit is a more specialized tool for people who want the "xkit xsl transformation thingy." AxKit 是一种更专业的工具,适用于想要“xkit xsl 转换的东西”的人。

If you're on irc.perl.org come ask in the #axkit-dahut channel, we have both AxKit and Catalyst core developers ;)如果您在 irc.perl.org 上,请在 #axkit-dahut 频道中提问,我们有 AxKit 和 Catalyst 核心开发人员;)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM