如何将已编写的 CodeIgniter 代码移至 Kohana?

发布于 2024-07-19 04:12:35 字数 455 浏览 2 评论 0原文

我使用 CodeIgniter 一段时间了,我非常喜欢它。 不过,看来我需要迁移到 Kohana,因为我的其他团队成员需要我们的代码才能最大程度地充分利用 PHP5 功能。 问题是我们已经在 CodeIgniter 中编写了一半以上的项目。 有人以前将代码从 CodeIgniter 转移到 Kohana 吗? 是否可以做到,如果可以的话需要付出多少努力? 先感谢您!

更新: 从 abi noda 的回答来看,看来我确实需要重写大量代码, 但以前有人这样做过吗? 也许有人可以给我指出一些链接? 是的,我认为这是可能的,但我不知道需要多长时间。 我想我们会保留这个项目作为 CodeIgniter 项目,并在下一个项目到来时立即转移到 Kohana。 感谢你所做的一切!

I've been using CodeIgniter for some time, and I liked it a lot. It looks like I need to move to Kohana though, because my other team member needs our code to fully use PHP5 features to their fullest extent. The problem is we have already coded over half of our project in CodeIgniter. Has anyone transferred code from CodeIgniter to Kohana before? Is it even possible to do, and how much effort will it take if so? Thank you in advance!

Update:
From abi noda's answer, it looks like I really need to do a lot of code rewriting,
but has anyone done this before ? Perhaps someone could point me some links? Yes, I think it is possible to do, but I don't know how long it'll take. I guess we're gonna keep this project as a CodeIgniter one, and move to Kohana as soon as our next project comes. Thanks for everything!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

三生池水覆流年 2024-07-26 04:12:35

请参阅 Kohana 的文档 - 从 CodeIgniter 迁移

来自 # 的聪明人kohana IRC 通知我简单的迁移已不复存在。 自从从 Codeigniter 分叉以来,Kohana 发生了很大的变化。 它们现在是非常不同的框架,因此您必须重写大部分代码。

See Kohana's documentation - Migrating from CodeIgniter.

A smart fellow from #kohana IRC has informed me that a simple migration no longer exists. Kohana has changed substantially since forking from Codeigniter. They are very different frameworks now, so you would have to rewrite much of your code.

你曾走过我的故事 2024-07-26 04:12:35

CodeIgniter 在 PHP5 上运行良好。

它向后兼容 PHP4,但无需在 PHP4 上运行。

您的团队无法在 CodeIgniter 中使用 PHP5 的哪些部分?

CodeIgniter works well on PHP5.

It is backwards compatible to PHP4, but there is no need to run it on PHP4.

What part of PHP5 is your team not able to use in CodeIgniter?

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