CodeIgniter 与 Zend Framework 相比有多强?特别是用于开发酒店目录门户

发布于 2024-08-11 23:45:33 字数 255 浏览 3 评论 0原文

当我决定开始使用 php 框架时,我选择了 CodeIgniter,因为我没有太多的学习时间,我有严格的项目截止日期。我其实非常想要 Zend Framework。到目前为止我对 CI 很满意...但我即将启动一个大型酒店目录项目,例如 kayak.com 。我的项目当然不会有这么大的数据库,但结构会类似。

现在我担心如果我错误地用 CI 启动这样的项目:-S 在项目开发过程中会很痛苦吗?我不确定 CI 对于此类项目有多强大和可靠:/

我非常感谢建议!谢谢!!

When I decided to start using php framework, I have gone for CodeIgniter because of I didn't have much learning time, I had strict project dead-line. I actually wanted Zend Framework so much. I'm happy with CI so far... But I'm about to start a big hotels directory project like kayak.com . My project will not have so big db of course, but structure will be similar.

Now I worry if I make mistake to start such project with CI :-S Would it be pain in ass at the project development process. I'm not sure how strong and reliable CI is for such projects :/

I appreciate advices so much!! thanks!!

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

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

发布评论

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

评论(3

爱本泡沫多脆弱 2024-08-18 23:45:33

两者都有优点和缺点,ZF 是一个比 CI 更严格的框架,因为 CI 本身说你不需要使用模型(这是一个坏习惯)。 Zend 有更多的支持库,老实说,CI 的身份验证库相当差,而 zends 身份验证很漂亮,它带有 ACL 库作为其核心的一部分。我的选择是 Zend。

====回应你的评论=====

我认为如果你使用过 CI 那么你就对 MVC 有一定的了解,即使你的 CI 已经让你养成了不好的使用习惯。 Zend 拥有令人惊叹的文档和支持,因此您在从 CI 转换到 Zend 的过程中可能遇到的任何障碍都可以轻松解决。这可能会导致几个不眠之夜,但这肯定是为你的帽子添加另一根羽毛所付出的小代价吧?

Both have there pros and cons, ZF is a much stricter framework the CI, in that CI themselves say that you need not use models (which is a bad habit to get into). Zend has far greater supporting libraries, the authentication libraries for CI are pretty poor to be honest, while zends authentication is pretty, it comes with an ACL library as part of its core. My choice would be Zend.

====In response to your comment=====

I would think that if you have used CI then you have some knowledge about MVC even if you CI has put you in a habit of using it badly. Zend has amazing documentation and support so any stumbling blocks you may reach in the convertion from CI to Zend would easily be solved. It may cause a few sleepless nights, but surely that is small price to pay for adding another feather to your cap?

玉环 2024-08-18 23:45:33

如果您知道如何使用缓存系统,并且知道如何优化数据库结构和拓扑,我会在每天平均访问​​量为 65.000 次的站点中使用 Codeigniter。 CI 非常非常好,易于安装,速度快,社区良好且活跃,而且不重。

问候,
佩德罗

I use Codeigniter in sites with average 65.000 access by day, if you know how to use cache systems, and you know how to optimize your databases structure and topology. Well CI is very very good, easy to install, fast, good and active comunity and not heavy.

Regards,
Pedro

暖伴 2024-08-18 23:45:33

我的建议是坚持你所知道的,这是完成项目的最佳方法。既然你已经用 CI 做过一个项目,你应该更了解 CI :)

My advice is to stick with what you know, that is the best way to get the project done. Since you already did a project with CI you should know CI better :)

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