从 CF9 迁移到 Railo 之前我应该考虑哪些事项?
我已经使用 ColdFusion 9 和 ColdFusion on Wheels Framework 大约 6 个月了。我仍然认为自己是一个初学者,但我很乐意做我需要做的大部分事情。
我最近开始编写完整的 CF 脚本组件,并且我喜欢语法的简洁性。我很失望失去了 CFQuery、CFLoop 等提供的一些简单性......但我现在可以没有这些。
最近,一些人提到 Railo 有更好的 CFScript 支持。出于这个原因我正在考虑转行。
我应该记住哪些事情?这两个平台在功能和易用性方面如何相互竞争?
I've been using ColdFusion 9 along with the ColdFusion on Wheels Framework for about 6 months now. I still consider myself a beginner, but I am comfortable doing most things I need to.
I recently started writing full CF Script components, and I'm loving the cleanliness of the syntax. I am disappointed to lose some of the simplicity afforded by CFQuery, CFLoop, and so on... but I can live without this for now.
Recently, a few people have mentioned that Railo has better CFScript support. I'm considering switching for that reason.
What things should I keep in mind, and how do the two platforms stack against one another in terms of functionality and ease of use?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
关于 Railo 和 ColdFusion 之间的差异,您需要注意以下几点。此页面列出了 Adobe CF 具有而 Railo 没有的所有功能,反之亦然:
http://www.getrailo.org/index.cfm/documentation/compatibility/cfml-compatibility/
Here are the things you need to look for as far as differences between Railo and ColdFusion. This page lists all of the things that Adobe CF has that Railo doesn't, and vice versa:
http://www.getrailo.org/index.cfm/documentation/compatibility/cfml-compatibility/
梅尔,
最简单的尝试方法是创建一个名为“/”的映射,该映射指向“/”,然后从管理员编译此映射。这应该会给你一个关于代码在编译方面的兼容性的良好结果。
这是值得考虑的一件好事。如果您真的对 CF9 感到满意,请坚持下去。你永远不会改变一支获胜的球队。我当然为 Railo 感到自豪,并坚信它是最好的 CFML 引擎。但我有偏见,只有当出于不同原因确实有必要时,你才应该考虑转换。成本、性能、内存占用。但同样,如果你的系统在 CF9 上运行得很好,那就省下钱,用它做点别的事吧。
格特·弗朗茨
铁路技术有限公司
Mel,
well the easiest way to try it out is to create a mapping called "/" that points to "/" and then compile this mapping from the admin. That should give you a good result on how compatible your code is in terms of compilation.
And a good thing to consider. If you are really happy with CF9, stick with it. You never change a winning team. I am of course proud of Railo and convinced it is the best CFML engine. But I am biased and you should only consider a switch if it is really necessary for different reasons. Costs, performance, memory footprint. But again, if your system runs very well on CF9, just save the money and do something else with it.
Gert Franz
Railo Technologies GmbH
根据轶事做出决定要小心! ColdFusion 9.0.1 为 cfscript 带来了更多支持:
来自:
http://kb2.adobe.com/cps/847/cpsid_84725.html
Be careful making decisions based on anecdotes! ColdFusion 9.0.1 brought even more support for cfscript:
From:
http://kb2.adobe.com/cps/847/cpsid_84725.html
如果您在 PDF 生成 (CFdocument) 或图表 (cfchart) 方面做了很多工作,您将需要在 Railo 中尝试这些,看看它们与您当前使用 Adobe CF 获得的效果相比如何。当我在 Railo 中测试图表时,我发现 Adobe CF 引擎可以生成更好看的图表。我认为 Adobe CF 中的 PDF 引擎也更好。
If you are doing much work with PDF generation (CFdocument) or charting (cfchart), you'll want to try these out in Railo and see how they compare to what you are currently getting with Adobe CF. When I tested charting in Railo I found the Adobe CF engine to produce much nicer looking graphs. I think the PDF engine is better in Adobe CF also.