简体   繁体   English

从ColdFusion 7迁移到ColdFusion 11

[英]Migrating From ColdFusion 7 to ColdFusion 11

I'm planning a migration on a server from ColdFusion MX7 (Server 2003) to ColdFusion 11(Server 2012). 我计划在服务器上从ColdFusion MX7(Server 2003)迁移到ColdFusion 11(Server 2012)。 There is a Other Server Where I need to migrate from ColdFusion 8 (Server 2008) to ColdFusion 11. Does my System effect in any way when upgrading like tags, or compatibility issues. 还有一个其他服务器我需要从ColdFusion 8(Server 2008)迁移到ColdFusion 11.在升级类似标签或兼容性问题时,我的系统是否会以任何方式起作用。 Does anyone know which steps I should without effecting. 有没有人知道我应该做哪些步骤而不影响。 I know about the code analyzer that we had in Cf administrator. 我知道我们在Cf管理员中拥有的代码分析器。 I want to know if there is anything effected seriously when migrating. 我想知道迁移时是否有任何严重影响。

Thanks in Advance Kiran Kumar 在此基础上感谢Kiran Kumar

The Code Analyzer helps in migrating your applications to ColdFusion 11 from earlier versions of ColdFusion. 代码分析器有助于将应用程序从早期版本的ColdFusion迁移到ColdFusion 11。 However, it checks the same for only two versions back. 但是,它只检查两个版本的相同内容。 The Code Analyzer reviews the CFML pages that you specify and informs you of any potential compatibility issues. 代码分析器会检查您指定的CFML页面,并通知您任何潜在的兼容性问题。 It detects unsupported and deprecated CFML features, and outlines the required implementation changes that ensure a smooth migration. 它检测不受支持和弃用的CFML功能,并概述了确保顺利迁移所需的实施更改。

As far as the code compatibility is concerned, everything "should" work. 就代码兼容性而言,一切“应该”起作用。 However, it is recommended to check the code compatibility and deprecated tags (if any). 但是,建议检查代码兼容性和不推荐使用的标记(如果有)。 You can refer to https://wikidocs.adobe.com/wiki/display/coldfusionen/Deprecated+Features & https://wikidocs.adobe.com/wiki/display/coldfusionen/Deprecated+tags,+attributes,+and+values . 你可以参考https://wikidocs.adobe.com/wiki/display/coldfusionen/Deprecated+Featureshttps://wikidocs.adobe.com/wiki/display/coldfusionen/Deprecated+tags,+attributes,+and+价值观

I have briefly covered the entire Migration process here . 在这里简要介绍了整个迁移过程。 So, will not iterate the same. 所以,不会迭代相同。 Also, you can have a look at another helpful article for Migration Tweaks . 此外,您还可以查看另一篇有关Migration Tweaks的有用文章。

Having said that all, it's strongly recommended to test your website on the Testing/Development environment, before moving it on Production. 说了这些之后,强烈建议在测试/开发环境中测试您的网站,然后再将其转移到Production上。

Hope this gives a better picture of the migration process. 希望这能更好地了解迁移过程。

I did the migration in the past, did not face important issue, as everyone have a different system the best solution would - Backup - Test the upgrade and see 我过去做了迁移,没有面临重要的问题,因为每个人都有不同的系统最好的解决方案 - 备份 - 测试升级,看看

if it's a production machine, you can copy your machine to a vm and test the upgrade there. 如果它是生产机器,您可以将您的机器复制到虚拟机并在那里测试升级。 it's may be a lot of work, but you can not know if you don't test 它可能是很多工作,但你不知道你是否不测试

I am currently moving a ColdFusion 9 site to Coldfusion 11 and the way I tested it was to create a separate set of folders on the ms2013 server. 我目前正在将ColdFusion 9站点移至Coldfusion 11,我测试它的方式是在ms2013服务器上创建一组单独的文件夹。 I ran them side by side with a duplicate database with a different name for the test site. 我将它们与一个重复的数据库并排运行,测试站点的名称不同。

I have moved sites up from 5 to 9 with few issues and the only one that really got me in ColdFusion 11 is dbtype in database functions. 我已经将网站从5个移到9个,几乎没有问题,而在ColdFusion 11中唯一真正让我使用的是数据库函数中的dbtype。 It has not only been depreciated but will always throw an error if found. 它不仅已经折旧,而且一旦发现就会抛出错误。

It also depends on how Coldfusion 11 will react to cfcs and other special tags if you use them. 它还取决于Coldfusion 11如何使用它们对cfcs和其他特殊标签的反应。 I don't so it was a snap. 我不是这样的。

Examples: 例子:

  mydatabase
  mydatabase1

  mypagesfolder
  mypagesfolder1

  index.cfm
  index1.cfm

Going live was a snap. 上线很快。 I just renamed the folders, links*, dsn and renamed index1.cfm to index.cfm. 我刚刚重命名了文件夹,链接*,dsn并将index1.cfm重命名为index.cfm。

*Links only need to be changed if posting outside of folder and if so just the path. *只有在文件夹外发布时才需要更改链接,如果只是路径。

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

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