What should I consider before upgrading from CF9 to Railo?

I have been using ColdFusion 9 with ColdFusion on wheels for about 6 months. I still consider myself a newbie, but I am comfortable doing everything I need.

I recently started writing the full components of CF Script, and I love the purity of the syntax. I am disappointed that I am losing some of the simplicity provided by CFQuery, CFLoop, etc .... but I can live without it at the moment.

Recently, several people have mentioned that Railo has the best CFScript support. I am considering switching for this reason.

What should I keep in mind and how do both platforms flock against each other in terms of functionality and ease of use?

+4
source share
4 answers

Here is what you need to look for as far as the differences between Railo and ColdFusion. This page lists everything that Adobe CF does not have, that Railo does not, and vice versa:

http://www.getrailo.org/index.cfm/documentation/compatibility/cfml-compatibility/

+10
source

A piece of chalk,

Well, the easiest way to try is to create a mapping called "/" that points to "/", and then compile this mapping from the administrator. This should give you a good result on how compiled your code is.

And a good thing to consider. If you are really happy with CF9, stick with it. You never change the winning team. Of course, I am proud of Railo and I am convinced that this is the best CFML engine. But I'm biased, and you should only consider the switch if it is really necessary for various reasons. Costs, performance, memory. But then again, if your system works very well on CF9, just save money and do something else with it.

Geert Franz Railo Technologies GmbH

+5
source

Be careful when making decisions based on jokes! ColdFusion 9.0.1 brought even more support for cfscript:

Support for the following:

for-in (for arrays) in CFScript

var declaration inside for loop in CFScript

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

The following script functions are implemented as CFC:

dbinfo

IMAP

pop

LDAP

innings

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

+4
source

If you work a lot with PDF generation (CFdocument) or graphics (cfchart), you will want to try them out in Railo and see how they compare to what you currently get with Adobe CF. When I tested graphics in Railo, I found that the Adobe CF engine creates much nicer graphics. I think that Adobe CF works better with Adobe CF.

+3
source

Source: https://habr.com/ru/post/1337865/


All Articles