社交网站的 Zend、Yii 和 CI

发布于 2024-09-16 07:12:12 字数 97 浏览 2 评论 0原文

我必须在上述框架之间进行选择来开发大型社交网站。之前在几个项目中使用过 Zend 框架,我对使用它有偏见,但是,我想有一个公正的意见。

我们主要追求性能和可扩展性。

I have to choose between the above mentioned frameworks for developing a big social networking Web site. Having used Zend framework for several projects before, I am biased towards using it, however, I would like to have a fair opinion.

We are mainly looking for performance and extensibility.

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

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

发布评论

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

评论(4

凹づ凸ル 2024-09-23 07:12:12

使用你觉得舒服的东西。这是最重要的事情...使用您不理解的工具是没有意义的,因为您的工作效率几乎不高(以及其他问题)...

Use what you're comfortable with. That's the most important thing... There's no sense using a tool you don't understand since you won't be nearly as productive (among other issues)...

阪姬 2024-09-23 07:12:12

我已经使用过 Yii 和 Zend 框架,但是我仍然使用两者的一些部分。 yii 中有一些非常优雅的解决方案。我开始使用 Zend 框架,但后来主要使用 yii,并少量使用 Zend。

  • Yii 的基于组件的模型非常出色。
  • Jquery 和现成的基于 jquery 的组件可以节省大量时间。
  • 更不用说gii,它从数据库结构自动生成应用程序的整个区域。

I have used both Yii and Zend framework and I still use bits of both however. There are some really elegant solutions in yii. I started using Zend framework but have since swinched to use primarily yii, with sprinklings of Zend.

  • Yii's component based model is excellent.
  • Jquery and ready to go jquery based components out of the tin is a huge time saver.
  • not to mention gii which autogenerates whole areas of the application from the database structure.
糖果控 2024-09-23 07:12:12

在我看来,这个案子没有什么对错之分。您应该选择您自己最能开发的框架。您了解得越多,您的应用程序就会越好、性能越好。每个框架都有可能写得快或慢。所以就你的情况来说,选择 Zend 是绝对可以的。请记住,大多数框架都有自己的基准,被誉为性能最佳的解决方案;)

In my opinion there is no right or wrong in this case. You should choose the framework you can develop best yourself. The better you know, the better and more performant your application will be. It is possible to write fast and slow with every framework. So in your case it is absolutly ok to choose Zend. Keep in mind that most of the framework have their own benchmark where it is praised as the best performing solution ;)

五里雾 2024-09-23 07:12:12

然后使用 Zend 框架。可扩展性是 Zend Framework 所赋予的,至于性能则取决于您的编码方式。 Zend Framework 更像是一个 VC,您是实现 M 的那个。因此,使用胖模型和瘦控制器编程逻辑,您应该能够使 Zend Framework 相当快?我确信你可以在那里进行延迟加载并且接近 Yii 的速度(因为 Yii 做了很多延迟加载)。

不知道 CI 是什么。

仅供参考,Yii 的开发速度要快得多。

Use Zend Framework then. Extensibility is a given with Zend Framework and as for performance well it's up to how you code. Zend Framework is more of a VC you're the one that implementing the M. So going with the Fat Model and skinny Controller programming logic, you should be able to make Zend Framework decently quick? I'm sure you can do lazy loading in there and get close to as fast as Yii (since Yii does lots of lazy loading).

No idea what CI is.

Yii is much faster to develop just fyi.

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