使用哪个框架:CodeIgniter,Symfony还是CakePHP?

时间:2022-10-06 13:59:40

I would like to use one of the framework listed in the title but I am afraid to choose the wrong one since I don't know much about the framework. I know PHP well, but every time I create a site I spent too much time creating my own little framework . Matter of fact, I was afraid of using a framework because of fear of being stuck with inflexible and slow framework that couldn't handle high traffic website.

我想使用标题中列出的框架之一,但我害怕选择错误的框架,因为我对框架知之甚少。我很了解PHP,但每次创建一个网站时我花了太多时间创建自己的小框架。事实上,我害怕使用框架,因为害怕陷入无法处理高流量网站的僵化和缓慢的框架。

Which framework addresses my fear the most?

哪个框架最能解决我的恐惧?

2 个解决方案

#1


7  

Matter of fact, I was afraid of using a framework because of fear of being stuck with inflexible and slow framework that couldn't handle high traffic website.

事实上,我害怕使用框架,因为害怕陷入无法处理高流量网站的僵化和缓慢的框架。

CodeIgniter is the most flexible framework of the bunch you have mentioned. It's also the fastest. There are more than a few benchmarks confirming this.

CodeIgniter是您提到的最灵活的框架。它也是最快的。有很多基准确认了这一点。

Symphony and Cake are both Rails-esque frameworks that (in my view) will force you to adopt their conventions. CodeIgniter doesn't. You can be extremely liberal in choosing what features you want, and how you want to use the framework. It is also very easy to extend and change core functionality without modification.

Symphony和Cake都是Rails-esque框架(在我看来)将迫使你采用他们的约定。 CodeIgniter没有。您可以非常*地选择所需的功能,以及如何使用该框架。无需修改即可轻松扩展和更改核心功能。

#2


3  

Symfony has a good reputation, after that comes CakePHP. I don't know about CodeIgniter.

Symfony在CakePHP之后享有良好的声誉。我不知道CodeIgniter。

edit: here is a comparison in french (sorry)

编辑:这是法语比较(对不起)

http://www.mti.epita.fr/blogs/2010/06/17/symfony-vs-codeigniter/

http://www.mti.epita.fr/blogs/2010/06/17/symfony-vs-codeigniter/

The conclusion says CodeIgniter is good for small project, and Symfony is recommended if you have a bigger project to do (more than a month to dev).

结论是CodeIgniter适用于小型项目,如果您有更大的项目要做(推荐超过一个月),建议使用Symfony。

#1


7  

Matter of fact, I was afraid of using a framework because of fear of being stuck with inflexible and slow framework that couldn't handle high traffic website.

事实上,我害怕使用框架,因为害怕陷入无法处理高流量网站的僵化和缓慢的框架。

CodeIgniter is the most flexible framework of the bunch you have mentioned. It's also the fastest. There are more than a few benchmarks confirming this.

CodeIgniter是您提到的最灵活的框架。它也是最快的。有很多基准确认了这一点。

Symphony and Cake are both Rails-esque frameworks that (in my view) will force you to adopt their conventions. CodeIgniter doesn't. You can be extremely liberal in choosing what features you want, and how you want to use the framework. It is also very easy to extend and change core functionality without modification.

Symphony和Cake都是Rails-esque框架(在我看来)将迫使你采用他们的约定。 CodeIgniter没有。您可以非常*地选择所需的功能,以及如何使用该框架。无需修改即可轻松扩展和更改核心功能。

#2


3  

Symfony has a good reputation, after that comes CakePHP. I don't know about CodeIgniter.

Symfony在CakePHP之后享有良好的声誉。我不知道CodeIgniter。

edit: here is a comparison in french (sorry)

编辑:这是法语比较(对不起)

http://www.mti.epita.fr/blogs/2010/06/17/symfony-vs-codeigniter/

http://www.mti.epita.fr/blogs/2010/06/17/symfony-vs-codeigniter/

The conclusion says CodeIgniter is good for small project, and Symfony is recommended if you have a bigger project to do (more than a month to dev).

结论是CodeIgniter适用于小型项目,如果您有更大的项目要做(推荐超过一个月),建议使用Symfony。