是否有将 mod_perl 移植到 Catalyst 的良好资源? 这值得么?
我们有一个大型电子学习 mod_perl Web 应用程序,它使用 AxKit、XML、XLST 和 javascript,主要运行在 unix 服务器上。 我注意到代码相当混乱,并且已经有几代开发人员进进出出。 由于当前的结构,由于 AxKit XSL 转换的原因,尝试制作一个简单的 hello world 网页的任务涉及编写一些组件来使其工作。
所以,我看着强大的Catalyst框架,MVC本身就让我垂涎欲滴。 我正在寻找资源和最佳实践,看看将当前的 Web 应用程序移植到 Catalyst 是否可行。
我想听听其他 Catalyst 员工的意见,以防万一我的管理层提出这个神奇的问题,这一举措是否值得:为什么?
谢谢 :)
We have a big e-learning mod_perl web app, which use AxKit, XML, XLST and javascript primarily running on a unix server. 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.
So, I'm looking at the powerful Catalyst framework, and the MVC itself is making me drool. I'm looking for resources and best practices to see if porting the current web app over to Catalyst is feasible.
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 :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的猜测是“这取决于您使用了多少 AxKit”。 如果您只是使用 XSLT 而不是 XSP、XPathScript 或任何样式动态内容,那么它可能会非常简单。 如果您正在使用 AxKit 宇宙中的一些更有趣的生物,那么您肯定会想要更深入地了解 Catalyst 对 XPathScript 和 XSP 等内容的支持程度(据我所知,目前还没有任何支持) )。 如果您正在考虑完全转储 XML/XSLT,那么沿着 Catalyst 路径走下去肯定比不走更容易。
我知道一些 AxKit 开发人员已经使用过,并且确实在某些项目中使用 Catalyst,即使是最顽固的人也可能会承认 Catalyst 功能强大并且很容易实现某些目标。 AxKit 是一个更专业的工具,适合那些想要“xkit xsl 转换之类的东西”的人。
如果您在 irc.perl.org 上,请在 #axkit-dahut 频道中提问,我们有 AxKit 和 Catalyst 核心开发人员;)
My guess would be "it depends on how much AxKit are you using". 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. 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). If you're looking at dumping XML/XSLT entirely then it's certainly easier to go down the Catalyst path than not.
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 is a more specialized tool for people who want the "xkit xsl transformation thingy."
If you're on irc.perl.org come ask in the #axkit-dahut channel, we have both AxKit and Catalyst core developers ;)