本文介绍了去哪一个;Yii 或 Symfony的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的.我问哪个更好.我知道 Yii 并不比 Symfony 好,Symfony 也不比 Yii 好.

Okay. I'm NOT asking which one is better. I know Yii is not better than Symfony, Symfony is not better then Yii.

我在问我应该选择哪一个.

I'm asking which one should i go with it.

我想说几点:

我有一个大型项目,它的格式非常好,编码也非常好.如果您看到我的代码,您会认为我制作了自己的框架,但事实并非如此.它只是编码得非常好.我正在为 HTTP 请求使用定制的控制器.

I have a large project which is very-well formatted and very-well coded. If you seen my codes you would think that i made my own framework but its not. It just that very-well coded. I'm using custom made Controllers for HTTP requests.

我想要做的就是让我的代码更易于使用、更易于理解和更易于编辑.逐个组件编辑和扩展.

All i want to do is make my code much more easier to use and much more easier to understand and easier to edit. Component by component editing and extending.

我也使用 Zend Framework 作为组件,但不使用框架基础.

I'm also using Zend Framework as a component but not framework base.

因此,作为您的开发人员,我真的很喜欢用于基础编码的项目框架.Yii 还是 Symfony?

So, as you developers, which project framework for base coding do i really go with it. Yii or Symfony?

我实际上很喜欢 Yii,但 Symfony 的捆绑系统和命名空间吸引了我.但我真的不知道我应该去哪一个.

I actually loved Yii but Symfony's Bundle systemn and Namespaces are attract me. But i really wonder which one should i go.

正如我所说,我不是问哪个更好.我想了解您对这个问题的看法.

As i said, im not asking which one is better. I want to get your throughts regarding to this issue.

我愿意接受建议.给我一条路.

I'm open for suggestions. Give me a path.

推荐答案

Yii 可能是所有选项中最真实的框架"——它提供了你需要的脚手架,几乎没有关于你更喜欢如何实现任何东西的假设(除了也许包含jQuery).它的开发速度非常快,执行速度非常快,这意味着出色的可扩展性.

Yii is probably the truest 'framework' of all the options - it provides the scaffolding you need with almost no assumptions about how you would prefer to implement anything (except perhaps the inclusion of jQuery). It is incredibly fast to develop with, and very very fast to execute which translates to excellent scalability.

我使用 Yii 进行的项目总是提前结束 - Yii 似乎在其工作方式上有意义.我承认我在 Symfony 方面的经验有限,但与 Zend Yii 相比是轻而易举的.Gii MVC 生成器也是一个很棒的开端,它从您的数据库表中生成模型和基本的 CRUD 代码.

Projects I have used Yii for have always ended up well ahead of schedule - Yii just seems to make sense in the way it works. My experience with Symfony is limited, I will admit, but compared to Zend Yii is a breeze. The Gii MVC generator is a fantastic head start too, generating models and basic CRUD code from your database tables.

这只是我个人经验的看法,但正是你所要求的:)

ALl this is just my opinion from my own experience, but that is what you asked for :)

这篇关于去哪一个;Yii 或 Symfony的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 10:25