ColdBox 与 CFWheels
我正在将 Coldfusion(无框架)构建的站点迁移到 Coldfusion 框架。现在看起来像是在 ColdBox 和 CFWheels 之间做出选择。
数据库是MS SQL。
我想知道是否有人已将现有网站迁移到这两个框架中的任何一个,以及他们是否可以推荐一个框架而不是另一个框架?
I am migrating a site built in Coldfusion (no framework) to a coldfusion framework. Right now it looks like a choice between ColdBox and CFWheels.
The database is MS SQL.
I was wondering if anyone has migrated an existing site over to either of these frameworks and if they could recommend one framework over another?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我正在做基本上完全按照你所描述的事情 - 将没有任何真正框架编写的旧 CF 应用程序移植到更干净的 CF 代码库(也使用 SQL Server,顺便说一句)。我们使用 CF Wheels 作为这项工作的框架。我们选择 Wheels 的原因有很多——我们更喜欢框架的风格,因为它与其他几个备受推崇的应用程序框架(Ruby on Rails、ASP.NET MVC、CodeIgniter 等)类似。此外,ORM 层轮子提供的功能非常好,可以让我们重构大量重复且冗长的代码。
我对 ColdBox 无法发表太多评论,因为我还没有使用过它。在推出 Wheels 之前,我们非常关注 Fusebox。我们以一种非常结构化的面向 MVC 的方式使用 Fusebox,但随着 Fusebox 核心失去动力,我们发现 Wheels 提供了与 Fusebox 类似的组织(关于我们如何做事),但采用了更好、更现代的包,其中包含很多花里胡哨的。这就是我们现在的首选框架。
I'm in the process of doing basically exactly what you describe - porting an older CF app that was written without any real framework to a cleaner CF codebase (also using SQL Server, BTW). We are using CF Wheels as the framework for this effort. We chose wheels because of a number of factors - we prefer the style of the framework, since it is similar to several other highly regarded application frameworks (Ruby on Rails, ASP.NET MVC, CodeIgniter, etc...). Also, the ORM layer wheels provides is quite nice, and will allow us to refactor much duplicated and verbose code.
I can't really comment much on ColdBox, since I haven't used it. Prior to Wheels, we were heavily into Fusebox. We were using Fusebox in a very structured MVC-oriented fashion, but as the Fusebox core lost momentum, we found that Wheels offered a similar organization to Fusebox (for how we were doing things) but in a nicer, more modern package, with lots of bells and whistles. So that is now our go-to framework.
我在这里可能是错的,因为我从未真正使用过 CFWheels。
据我所知,CFWheels 是一种不同类型的框架,因为它非常类似于 RoR。 ColdBox 是一个更传统的类似 MVC 的框架。
如果您不打算重做持久层,也许 ColdBox 甚至更简单的 FW/1 会更容易迁移到。
I might be wrong here 'cause I've never really used CFWheels.
As far as I know CFWheels is a different kind of framework because it is very RoR-like. ColdBox is a more traditional MVC-like framework.
If you're not looking at redoing the persistence layer, maybe ColdBox or even the simpler FW/1 would be easier to migrate to.