从 CF9 迁移到 Railo 之前我应该​​考虑哪些事项?

发布于 2024-10-15 02:35:58 字数 283 浏览 3 评论 0原文

我已经使用 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 技术交流群。

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

发布评论

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

评论(4

亽野灬性zι浪 2024-10-22 02:35:58

关于 Railo 和 ColdFusion 之间的差异,您需要注意以下几点。此页面列出了 Adob​​e 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/

橘虞初梦 2024-10-22 02:35:58

梅尔,

最简单的尝试方法是创建一个名为“/”的映射,该映射指向“/”,然后从管理员编译此映射。这应该会给你一个关于代码在编译方面的兼容性的良好结果。

这是值得考虑的一件好事。如果您真的对 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

掐死时间 2024-10-22 02:35:58

根据轶事做出决定要小心! ColdFusion 9.0.1 为 cfscript 带来了更多支持:

支持以下内容:

CFScript 中的 for-in 构造(用于数组)

CFScript 中 for 循环内的 var 声明

函数参数元数据
cfile action="upload" (FileUpload) 和 cffile action="uploadall" (FileUploadAll) 的等效函数

以下脚本函数已作为 CFC 实现:

数据库信息

imap

流行

LDAP

饲料

来自:
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:

Support for the following:

for-in construct (for arrays) in CFScript

var declaration within for loop in CFScript

Function argument metadata
Function equivalents for cfile action="upload" (FileUpload) and cffile action="uploadall" (FileUploadAll)

The following script functions have been implemented as CFCs:

dbinfo

imap

pop

ldap

feed

From:
http://kb2.adobe.com/cps/847/cpsid_84725.html

一袭水袖舞倾城 2024-10-22 02:35:58

如果您在 PDF 生成 (CFdocument) 或图表 (cfchart) 方面做了很多工作,您将需要在 Railo 中尝试这些,看看它们与您当前使用 Adob​​e CF 获得的效果相比如何。当我在 Railo 中测试图表时,我发现 Adob​​e CF 引擎可以生成更好看的图表。我认为 Adob​​e 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.

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